1
This commit is contained in:
parent
2f5c158c53
commit
14beeeeb0c
@ -368,7 +368,9 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
|
|||||||
if (hdr.msgid < 100) {
|
if (hdr.msgid < 100) {
|
||||||
return;
|
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);
|
auto down_wp = DownStreamMgr::Instance()->GetGameClientBySocket(hdr.socket_handle);
|
||||||
if (down_wp.expired()) {
|
if (down_wp.expired()) {
|
||||||
switch (hdr.msgid) {
|
switch (hdr.msgid) {
|
||||||
@ -400,6 +402,11 @@ void App::ProcessClientMsg(f8::MsgHdr& hdr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case ss::_SS_CMKcpHandshake:
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
abort();
|
abort();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user