refactor(logic): 重构逻辑模块

- 移除了 player.go 中的 SendPackBytes 方法
- 将 TomeeHeader 中的 CMDID 改为 CMD,类型从 uint32 改为 EnumCommandID
- 删除了 controller 文件夹下的 service.go 和 login.go
- 新增了 login 文件夹下的 PlayerLoginService.go
- 优化了 main.go 中的 Start 函数,使用 controller.Recv 作为回调
This commit is contained in:
2025-06-26 23:20:11 +08:00
parent dce68c7094
commit feabc7153a
15 changed files with 375 additions and 332 deletions

View File

@@ -14,5 +14,6 @@ use (
./modules/dict
./modules/space
./modules/task
E:\newcode\seercode\tools\bytearray
)