```
refactor(controller): 优化控制器初始化与命令解析逻辑 - 重构 getCmd 和 ParseCmdTag
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user