|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Grid.h>
Public Member Functions | |
| template<class SPECIFIC_OBJECT> | |
| void | AddGridObject (SPECIFIC_OBJECT *obj) |
| template<class SPECIFIC_OBJECT> | |
| void | AddWorldObject (SPECIFIC_OBJECT *obj) |
| template<class T> | |
| uint32 | GetWorldObjectCountInGrid () const |
| template<class T> | |
| void | Visit (TypeContainerVisitor< T, TypeMapContainer< GRID_OBJECT_TYPES > > &visitor) |
| template<class T> | |
| void | Visit (TypeContainerVisitor< T, TypeMapContainer< WORLD_OBJECT_TYPES > > &visitor) |
| ~Grid () | |
Private Attributes | |
| TypeMapContainer< GRID_OBJECT_TYPES > | i_container |
| TypeMapContainer< WORLD_OBJECT_TYPES > | i_objects |
Friends | |
| template<class A, class T, class O> | |
| class | GridLoader |
|
inline |
Inserts a container type object into the grid.
Definition at line 98 of file Grid.h.
Referenced by Map::AddToGrid(), Map::AddToGrid(), Map::SwitchGridContainers(), and Map::SwitchGridContainers().
|
inline |
an object of interested enters the grid
Definition at line 45 of file Grid.h.
Referenced by ObjectAccessor::AddCorpsesToGrid(), Map::AddToGrid(), Map::SwitchGridContainers(), and Map::SwitchGridContainers().
|
inline |
an object of interested exits the grid Refreshes/update the grid. This required for remote grids. Locks a grid. Any object enters must wait until the grid is unlock. Unlocks the grid.
Definition at line 75 of file Grid.h.
Referenced by NGrid< MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes >::VisitAllGrids(), and NGrid< MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes >::VisitGrid().
|
inline |
|
friend |
|
private |
|
private |