2020-08-23 17:14:54 +00:00
|
|
|
#pragma once
|
2020-08-21 02:10:14 +00:00
|
|
|
|
|
|
|
#include "CNShardServer.hpp"
|
|
|
|
|
|
|
|
namespace ItemManager {
|
|
|
|
void init();
|
|
|
|
void itemMoveHandler(CNSocket* sock, CNPacketData* data);
|
2020-08-21 20:09:52 +00:00
|
|
|
void itemDeleteHandler(CNSocket* sock, CNPacketData* data);
|
|
|
|
void itemGMGiveHandler(CNSocket* sock, CNPacketData* data);
|
2020-08-26 17:40:10 +00:00
|
|
|
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);
|
2020-08-27 02:35:13 +00:00
|
|
|
void itemTradeChatHandler(CNSocket* sock, CNPacketData* data);
|
2020-08-21 02:10:14 +00:00
|
|
|
}
|