refactor(controller): 优化控制器初始化与命令解析逻辑

- 重构 getCmd 和 ParseCmdTag
This commit is contained in:
2025-12-11 10:32:39 +08:00
parent 6b534adc07
commit 49b9e938f5
10 changed files with 520 additions and 521 deletions

View File

@@ -68,7 +68,7 @@ func (f *FightC) ChangePet(c common.PlayerI, id uint32) {
selfinput.CurrentPet, ret.Reason = selfinput.GetPet(id)
c.SendPackCmd(2407, &ret.Reason)
f.actionChan <- ret
}