This commit is contained in:
azw 2023-04-22 08:02:31 +00:00
parent 2f5c158c53
commit 14beeeeb0c

View File

@ -368,7 +368,9 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
if (hdr.msgid < 100) {
return;
}
if (hdr.msgid == ss::_SS_CMLogin || hdr.msgid == ss::_SS_CMReconnect) {
if (hdr.msgid == ss::_SS_CMLogin ||
hdr.msgid == ss::_SS_CMReconnect ||
hdr.msgid == ss::_SS_CMKcpHandshake) {
auto down_wp = DownStreamMgr::Instance()->GetGameClientBySocket(hdr.socket_handle);
if (down_wp.expired()) {
switch (hdr.msgid) {
@ -400,6 +402,11 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
}
}
break;
case ss::_SS_CMKcpHandshake:
{
}
break;
default:
{
abort();