优化协议代理转换

This commit is contained in:
flswld committed 2023-07-22 21:01:35 +08:00
1 parent acb6a55781
commit 4f033f5501
25 files changed
+675 -493

No files matched your search

+3
View File
@@ -162,6 +162,9 @@ func (c *CmdProtoMap) registerMessage() {
c.regMsg(EvtDestroyGadgetNotify, func() any { return new(proto.EvtDestroyGadgetNotify) }) // 销毁实体通知
c.regMsg(EvtAnimatorParameterNotify, func() any { return new(proto.EvtAnimatorParameterNotify) }) // 动画参数通知
c.regMsg(EvtAnimatorStateChangedNotify, func() any { return new(proto.EvtAnimatorStateChangedNotify) }) // 动画状态通知
c.regMsg(EvtBulletDeactiveNotify, func() any { return new(proto.EvtBulletDeactiveNotify) }) // 子弹消失通知
c.regMsg(EvtBulletHitNotify, func() any { return new(proto.EvtBulletHitNotify) }) // 子弹命中通知
c.regMsg(EvtBulletMoveNotify, func() any { return new(proto.EvtBulletMoveNotify) }) // 子弹移动通知
c.regMsg(EvtAiSyncSkillCdNotify, func() any { return new(proto.EvtAiSyncSkillCdNotify) }) // 通知
c.regMsg(EvtAiSyncCombatThreatInfoNotify, func() any { return new(proto.EvtAiSyncCombatThreatInfoNotify) }) // 通知
c.regMsg(EntityConfigHashNotify, func() any { return new(proto.EntityConfigHashNotify) }) // 通知