判空&&调试日志
This commit is contained in:
1 parent
389210b12b
commit
bd12f6a8b7
8 files changed
+53
-8
No files matched your search
@@ -269,6 +269,10 @@ func (a *AoiManager) RemoveObjectFromGridByPos(objectId int64, x, y, z float32)
|
||||
return a.RemoveObjectFromGrid(objectId, gid)
|
||||
}
|
||||
|
||||
func (a *AoiManager) Debug() map[uint32]*Grid {
|
||||
return a.gridMap
|
||||
}
|
||||
|
||||
// Grid 地图格子
|
||||
type Grid struct {
|
||||
gid uint32 // 格子id
|
||||
|
||||
Reference in new issue
Block a user