refactor(common): 统一使用 common.TomeeHeader 替代 player.TomeeHeader

将多处
This commit is contained in:
2025-11-19 16:11:02 +08:00
parent 31439b707c
commit c0b09c92c4
57 changed files with 455 additions and 480 deletions

View File

@@ -8,13 +8,13 @@ import (
)
func (h Controller) Walk(data *maps.WalkInInfo, c *player.Player) (result *info.WalkOutInfo, err errorcode.ErrorCode) {
c.GetSpace().Walk(c, info.WalkOutInfo{
result = &info.WalkOutInfo{
Flag: data.Flag,
Point: data.Point,
Path: data.Path,
UserID: c.Info.UserID,
})
}
c.GetSpace().Walk(c, result)
c.Info.Pos = data.Point
return