1
This commit is contained in:
parent
8b61a75d6f
commit
9babf4c256
@ -47,7 +47,8 @@ enum NetHandler_e
|
||||
HID_GroupMgr,
|
||||
HID_IMConnMgr,
|
||||
HID_SyncHelper,
|
||||
HID_GuildMgr
|
||||
HID_GuildMgr,
|
||||
HID_Guild
|
||||
};
|
||||
|
||||
enum ReadPointFlag
|
||||
|
@ -30,6 +30,8 @@ namespace ss
|
||||
struct timer_list;
|
||||
class Guild
|
||||
{
|
||||
public:
|
||||
enum { HID = HID_Guild };
|
||||
public:
|
||||
int gameid = 0;
|
||||
long long guild_id = 0;
|
||||
|
@ -110,6 +110,16 @@ void HandlerMgr::RegisterNetMsgHandlers()
|
||||
RegisterNetMsgHandler(&wsmsghandler, &Player::_CMGuildRank);
|
||||
RegisterNetMsgHandler(&wsmsghandler, &Player::_CMGuildMemberList);
|
||||
RegisterNetMsgHandler(&wsmsghandler, &Player::_CMGuildLog);
|
||||
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildInfo);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildJoin);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildAgree);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildKick);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildQuit);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildDismiss);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildRename);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildMemberList);
|
||||
RegisterNetMsgHandler(&guild_msghandler, &Guild::_CMGuildLog);
|
||||
}
|
||||
|
||||
void HandlerMgr::ProcGMMsg(unsigned long saddr, int sockhandle,
|
||||
|
@ -25,6 +25,7 @@ class HandlerMgr : public a8::Singleton<HandlerMgr>
|
||||
f8::NetMsgHandlerObject immsghandler;
|
||||
f8::NetMsgHandlerObject imcmsghandler;
|
||||
f8::NetMsgHandlerObject mscmsghandler;
|
||||
f8::NetMsgHandlerObject guild_msghandler;
|
||||
|
||||
void ProcGMMsg(unsigned long saddr, int sockhandle,
|
||||
const std::string& url, const std::string& querystr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user