更新dps其他包处理逻辑 在没有uid cid情况下跳过
This commit is contained in:
@@ -55,7 +55,8 @@ function OnGatewaySocketMsg(Msg) {
|
||||
if (Jso.op in GatewaySocketPackFuncMap) {
|
||||
GatewaySocketPackFuncMap[Jso.op](Jso);
|
||||
} else {
|
||||
// print(Msg);
|
||||
//其他包处理逻辑
|
||||
if (Jso.rawin("uid") && Jso.rawin("cid")) {
|
||||
local SUser = World.GetUserByUidCid(Jso.uid, Jso.cid);
|
||||
if (SUser) {
|
||||
local Pack = Packet();
|
||||
@@ -68,6 +69,7 @@ function OnGatewaySocketMsg(Msg) {
|
||||
Pack.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user