This commit is contained in:
aozhiwei 2023-11-24 15:14:16 +08:00
parent aabcd22fb3
commit 2732c1ef51

View File

@ -18,9 +18,6 @@
#include "lispenv.h" #include "lispenv.h"
#include "perf.h" #include "perf.h"
#include "ss_msgid.pb.h"
#include "ss_proto.pb.h"
#include "tracemgr.h" #include "tracemgr.h"
#include "matchmgr.h" #include "matchmgr.h"
#include "selfchecker.h" #include "selfchecker.h"
@ -159,12 +156,8 @@ bool App::HasTask()
void App::ProcessGameGateMsg(f8::MsgHdr* hdr) void App::ProcessGameGateMsg(f8::MsgHdr* hdr)
{ {
if (hdr->msgid == ss::_SS_Ping) { f8::NetMsgHandler* handler = f8::GetNetMsgHandler
ss::SS_Pong pongmsg; (&HandlerMgr::Instance()->ggmsghandler,
GGListener::Instance()->SendProxyMsg(hdr->socket_handle, pongmsg);
return;
}
f8::NetMsgHandler* handler = f8::GetNetMsgHandler(&HandlerMgr::Instance()->ggmsghandler,
hdr->msgid); hdr->msgid);
if (handler) { if (handler) {
switch (handler->handlerid) { switch (handler->handlerid) {