Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckObjects ¶
func CheckObjects(watcher Watcher, oldObj *visible_objects.VisibleObject, id, teamID int, typeMark, typeObject string, view, radar bool, uuidObj string, data, updateData []byte) (string, string, *visible_objects.VisibleObject)
Types ¶
type Watcher ¶
type Watcher interface { InitVisibleObjects() GetVisibleObjectByTypeAndID(string, int) *visible_objects.VisibleObject GetVisibleObjects() <-chan *visible_objects.VisibleObject UnsafeRangeVisibleObjects() ([]*visible_objects.VisibleObject, *sync.RWMutex) RemoveVisibleObject(removeObj *visible_objects.VisibleObject) AddDynamicObject(object *dynamic_map_object.Object, mapID int, view, radar bool, mapTime int64) RemoveDynamicObject(id int) GetMapDynamicObjects(mapID int) <-chan *visible_objects.VisibleObject UnsafeRangeMapDynamicObjects() ([]*visible_objects.VisibleObject, *sync.RWMutex) GetMapDynamicObjectByID(id int) *visible_objects.VisibleObject AddVisibleObject(newObj *visible_objects.VisibleObject) GetTeamID() int CheckUnion(id int) bool }
Click to show internal directories.
Click to hide internal directories.