优化协议代理转换
This commit is contained in:
1 parent
acb6a55781
commit
4f033f5501
25 files changed
+675
-493
No files matched your search
@@ -126,6 +126,7 @@ func Logic(account string, session *net.Session) {
|
||||
}
|
||||
var combatInvocationsNotifyPb pb.Message = combatInvocationsNotify
|
||||
if config.GetConfig().Hk4e.ClientProtoProxyEnable {
|
||||
hk4egatenet.ConvServerPbDataToClient(combatInvocationsNotify, session.ClientCmdProtoMap)
|
||||
clientProtoObj := hk4egatenet.GetClientProtoObjByName("CombatInvocationsNotify", session.ClientCmdProtoMap)
|
||||
if clientProtoObj == nil {
|
||||
continue
|
||||
@@ -134,7 +135,6 @@ func Logic(account string, session *net.Session) {
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
hk4egatenet.ConvServerPbDataToClient(clientProtoObj, session.ClientCmdProtoMap)
|
||||
combatInvocationsNotifyPb = clientProtoObj
|
||||
}
|
||||
body, err := pb.Marshal(combatInvocationsNotifyPb)
|
||||
|
||||
Reference in new issue
Block a user