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 "perf.h"
#include "ss_msgid.pb.h"
#include "ss_proto.pb.h"
#include "tracemgr.h"
#include "matchmgr.h"
#include "selfchecker.h"
@ -159,13 +156,9 @@ bool App::HasTask()
void App::ProcessGameGateMsg(f8::MsgHdr* hdr)
{
if (hdr->msgid == ss::_SS_Ping) {
ss::SS_Pong pongmsg;
GGListener::Instance()->SendProxyMsg(hdr->socket_handle, pongmsg);
return;
}
f8::NetMsgHandler* handler = f8::GetNetMsgHandler(&HandlerMgr::Instance()->ggmsghandler,
hdr->msgid);
f8::NetMsgHandler* handler = f8::GetNetMsgHandler
(&HandlerMgr::Instance()->ggmsghandler,
hdr->msgid);
if (handler) {
switch (handler->handlerid) {
case HID_RoomMgr: