mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-12 14:22:27 +08:00
优化ability转发
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user