1
This commit is contained in:
parent
0e8bc69245
commit
46d253f47a
@ -7,6 +7,7 @@
|
||||
#include "app.h"
|
||||
#include "IMListener.h"
|
||||
#include "perfmonitor.h"
|
||||
#include "guildmgr.h"
|
||||
|
||||
static void _GMOpsSelfChecking(f8::JsonHttpRequest* request)
|
||||
{
|
||||
@ -29,6 +30,21 @@ void HandlerMgr::Init()
|
||||
RegisterNetMsgHandlers();
|
||||
RegisterGMMsgHandler("Ops@selfChecking", _GMOpsSelfChecking);
|
||||
RegisterGMMsgHandler("Ops@reload", _GMOpsReload);
|
||||
RegisterGMMsgHandler("Guild@create",
|
||||
[] (f8::JsonHttpRequest* request)
|
||||
{
|
||||
GuildMgr::Instance()->_GuildCreate(request);
|
||||
});
|
||||
RegisterGMMsgHandler("Guild@search",
|
||||
[] (f8::JsonHttpRequest* request)
|
||||
{
|
||||
GuildMgr::Instance()->_GuildSearch(request);
|
||||
});
|
||||
RegisterGMMsgHandler("Guild@rank",
|
||||
[] (f8::JsonHttpRequest* request)
|
||||
{
|
||||
GuildMgr::Instance()->_GuildRank(request);
|
||||
});
|
||||
}
|
||||
|
||||
void HandlerMgr::UnInit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user