|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <NGrid.h>
Public Types | |
| typedef Grid< ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > | GridType |
Public Member Functions | |
| void | decUnloadActiveLock () |
| uint32 | GetGridId (void) const |
| GridInfo * | getGridInfoRef () |
| grid_state_t | GetGridState (void) const |
| GridType & | GetGridType (const uint32 x, const uint32 y) |
| GridType const & | GetGridType (const uint32 x, const uint32 y) const |
| const TimeTracker & | getTimeTracker () const |
| bool | getUnloadLock () const |
| template<class T> | |
| uint32 | GetWorldObjectCountInNGrid () const |
| int32 | getX () const |
| int32 | getY () const |
| void | incUnloadActiveLock () |
| bool | isGridObjectDataLoaded () const |
| void | link (GridRefManager< NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > > *pTo) |
| NGrid (uint32 id, int32 x, int32 y, time_t expiry, bool unload=true) | |
| void | ResetTimeTracker (time_t interval) |
| void | SetGridId (uint32 id) |
| void | setGridObjectDataLoaded (bool pLoaded) |
| void | SetGridState (grid_state_t s) |
| void | setUnloadExplicitLock (bool on) |
| void | setUnloadReferenceLock (bool on) |
| void | UpdateTimeTracker (time_t diff) |
| template<class T, class TT> | |
| void | VisitAllGrids (TypeContainerVisitor< T, TypeMapContainer< TT > > &visitor) |
| template<class T, class TT> | |
| void | VisitGrid (const uint32 x, const uint32 y, TypeContainerVisitor< T, TypeMapContainer< TT > > &visitor) |
Private Attributes | |
| GridType | i_cells [N][N] |
| grid_state_t | i_cellstate |
| uint32 | i_gridId |
| GridInfo | i_GridInfo |
| bool | i_GridObjectDataLoaded |
| GridReference< NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES > > | i_Reference |
| int32 | i_x |
| int32 | i_y |
| typedef Grid<ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES> NGrid< N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES >::GridType |
|
inline |
Definition at line 105 of file NGrid.h.
Referenced by Map::RemoveFromActive().
|
inline |
Definition at line 99 of file NGrid.h.
Referenced by Map::ProcessRelocationNotifies().
|
inline |
Definition at line 87 of file NGrid.h.
Referenced by Map::DelayedUpdate(), Map::EnsureGridLoadedForActiveObject(), Map::IsRemovalGrid(), and Map::ProcessRelocationNotifies().
|
inline |
Definition at line 73 of file NGrid.h.
Referenced by Map::AddToGrid(), Map::AddToGrid(), Map::AddToGrid(), Map::EnsureGridLoaded(), Map::SwitchGridContainers(), Map::SwitchGridContainers(), NGrid< MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes >::VisitAllGrids(), and NGrid< MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes >::VisitGrid().
|
inline |
|
inline |
Definition at line 101 of file NGrid.h.
Referenced by Map::GetUnloadLock().
|
inline |
Definition at line 161 of file NGrid.h.
Referenced by Map::UnloadGrid(), and ActiveState::Update().
|
inline |
Definition at line 89 of file NGrid.h.
Referenced by Map::ActiveObjectsNearGrid(), Map::ProcessRelocationNotifies(), Map::UnloadGrid(), ActiveState::Update(), IdleState::Update(), and RemovalState::Update().
|
inline |
Definition at line 90 of file NGrid.h.
Referenced by Map::ActiveObjectsNearGrid(), Map::ProcessRelocationNotifies(), Map::UnloadGrid(), ActiveState::Update(), IdleState::Update(), and RemovalState::Update().
|
inline |
Definition at line 104 of file NGrid.h.
Referenced by Map::AddToActive().
|
inline |
Definition at line 96 of file NGrid.h.
Referenced by Map::isGridObjectDataLoaded().
|
inline |
Definition at line 92 of file NGrid.h.
Referenced by Map::buildNGridLinkage().
|
inline |
Definition at line 106 of file NGrid.h.
Referenced by Map::ResetGridExpiry().
|
inline |
Definition at line 97 of file NGrid.h.
Referenced by Map::setGridObjectDataLoaded().
|
inline |
Definition at line 88 of file NGrid.h.
Referenced by Map::EnsureGridCreated_i(), Map::EnsureGridLoadedForActiveObject(), ActiveState::Update(), and IdleState::Update().
|
inline |
Definition at line 102 of file NGrid.h.
Referenced by Map::SetUnloadLock().
|
inline |
Definition at line 103 of file NGrid.h.
Referenced by Map::SetUnloadReferenceLock().
|
inline |
Definition at line 133 of file NGrid.h.
Referenced by Map::UnloadGrid(), and ActiveState::Update().
|
inline |
Definition at line 142 of file NGrid.h.
Referenced by Map::Visit().
|
private |
|
private |