优化ability转发

This commit is contained in:
huangxiaolei committed 2022-12-05 00:20:25 +08:00
1 parent b5b7a2b47a
commit 447aeeb672
15 files changed
+267 -218

No files matched your search

-5
View File
@@ -61,11 +61,6 @@ func (p *ProtoEnDecode) protoDecode(kcpMsg *KcpMsg) (protoMsgList []*ProtoMsg) {
msg.CmdId = protoMessage.cmdId
msg.HeadMessage = protoMsg.HeadMessage
msg.PayloadMessage = protoMessage.message
if protoMessage.cmdId == cmd.UnionCmdNotify {
// 聚合消息自身不再往后发送
logger.LOG.Debug("[recv union], cmdId: %v, convId: %v, headMsg: %v", msg.CmdId, msg.ConvId, msg.HeadMessage)
continue
}
protoMsgList = append(protoMsgList, msg)
}
} else {