|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <ObjectGridLoader.h>
Public Member Functions | |
| void | LoadN (void) |
| ObjectGridLoader (NGridType &grid, Map *map, const Cell &cell) | |
| template<> | |
| void | SetObjectCell (Creature *obj, CellCoord const &cellCoord) |
| template<> | |
| void | SetObjectCell (GameObject *obj, CellCoord const &cellCoord) |
| void | Visit (AreaTriggerMapType &) const |
| void | Visit (CorpseMapType &) const |
| void | Visit (CreatureMapType &m) |
| void | Visit (DynamicObjectMapType &) const |
| void | Visit (GameObjectMapType &m) |
Static Public Member Functions | |
| template<class T> | |
| static void | SetObjectCell (T *obj, CellCoord const &cellCoord) |
Private Attributes | |
| Cell | i_cell |
| uint32 | i_corpses |
| uint32 | i_creatures |
| uint32 | i_gameObjects |
| NGridType & | i_grid |
| Map * | i_map |
Friends | |
| class | ObjectWorldLoader |
Definition at line 17 of file ObjectGridLoader.h.
Definition at line 22 of file ObjectGridLoader.h.
References i_cell, i_corpses, i_creatures, i_gameObjects, i_grid, and i_map.
| void ObjectGridLoader::LoadN | ( | void | ) |
Definition at line 175 of file ObjectGridLoader.cpp.
References i_cell, i_corpses, ObjectWorldLoader::i_corpses, i_creatures, i_gameObjects, i_grid, i_map, MAX_NUMBER_OF_CELLS, ObjectWorldLoader, and SF_LOG_DEBUG.
Referenced by Map::EnsureGridLoaded().
Definition at line 70 of file ObjectGridLoader.cpp.
References MapObject::SetCurrentCell().
| void ObjectGridLoader::SetObjectCell | ( | GameObject * | obj, |
| CellCoord const & | cellCoord ) |
Definition at line 76 of file ObjectGridLoader.cpp.
References MapObject::SetCurrentCell().
|
static |
Definition at line 68 of file ObjectGridLoader.cpp.
Referenced by AddObjectHelper(), and AddObjectHelper().
|
inline |
Definition at line 30 of file ObjectGridLoader.h.
|
inline |
Definition at line 28 of file ObjectGridLoader.h.
| void ObjectGridLoader::Visit | ( | CreatureMapType & | m | ) |
Definition at line 160 of file ObjectGridLoader.cpp.
References CellObjectGuids::creatures, CoordPair< LIMIT >::GetId(), i_cell, i_creatures, i_map, LoadHelper(), and sObjectMgr.
|
inline |
Definition at line 29 of file ObjectGridLoader.h.
| void ObjectGridLoader::Visit | ( | GameObjectMapType & | m | ) |
Definition at line 153 of file ObjectGridLoader.cpp.
References CellObjectGuids::gameobjects, CoordPair< LIMIT >::GetId(), i_cell, i_gameObjects, i_map, LoadHelper(), and sObjectMgr.
|
friend |
Definition at line 19 of file ObjectGridLoader.h.
References ObjectWorldLoader.
Referenced by LoadN(), and ObjectWorldLoader.
|
private |
Definition at line 37 of file ObjectGridLoader.h.
Referenced by LoadN(), ObjectGridLoader(), Visit(), and Visit().
|
private |
Definition at line 42 of file ObjectGridLoader.h.
Referenced by LoadN(), and ObjectGridLoader().
|
private |
Definition at line 41 of file ObjectGridLoader.h.
Referenced by LoadN(), ObjectGridLoader(), and Visit().
|
private |
Definition at line 40 of file ObjectGridLoader.h.
Referenced by LoadN(), ObjectGridLoader(), and Visit().
|
private |
Definition at line 38 of file ObjectGridLoader.h.
Referenced by LoadN(), and ObjectGridLoader().
|
private |
Definition at line 39 of file ObjectGridLoader.h.
Referenced by LoadN(), ObjectGridLoader(), Visit(), and Visit().