mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include "CNShardServer.hpp"
|
|
#include "Player.hpp"
|
|
|
|
namespace ItemManager {
|
|
void init();
|
|
|
|
void itemMoveHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemDeleteHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemGMGiveHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeOfferHandler(CNSocket* sock, CNPacketData* data);
|
|
//void itemTradeOfferCancel(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeOfferAcceptHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeOfferRefusalHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeConfirmHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeConfirmCancelHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeRegisterItemHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeUnregisterItemHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeRegisterCashHandler(CNSocket* sock, CNPacketData* data);
|
|
void itemTradeChatHandler(CNSocket* sock, CNPacketData* data);
|
|
void chestOpenHandler(CNSocket* sock, CNPacketData* data);
|
|
|
|
int findFreeSlot(Player *plr);
|
|
}
|