TrinityCore
GarrisonGridLoader Class Reference

Public Member Functions

 GarrisonGridLoader (NGridType *grid, GarrisonMap *map, Cell const &cell)
 
void Visit (GameObjectMapType &m)
 
void Visit (CreatureMapType &m)
 
void LoadN ()
 
template<class T >
void Visit (GridRefManager< T > &)
 

Static Public Member Functions

template<class T >
static void SetObjectCell (T *obj, CellCoord const &cellCoord)
 

Private Attributes

Cell i_cell
 
NGridTypei_grid
 
GarrisonMapi_map
 
Garrisoni_garrison
 
uint32 i_gameObjects
 
uint32 i_creatures
 

Detailed Description

Definition at line 28 of file GarrisonMap.cpp.

Constructor & Destructor Documentation

◆ GarrisonGridLoader()

GarrisonGridLoader::GarrisonGridLoader ( NGridType grid,
GarrisonMap map,
Cell const &  cell 
)
inline

Definition at line 31 of file GarrisonMap.cpp.

Member Function Documentation

◆ LoadN()

void GarrisonGridLoader::LoadN ( )

Definition at line 52 of file GarrisonMap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetObjectCell()

template<class T >
static void GarrisonGridLoader::SetObjectCell ( T *  obj,
CellCoord const &  cellCoord 
)
static

◆ Visit() [1/3]

void GarrisonGridLoader::Visit ( CreatureMapType m)

Definition at line 98 of file GarrisonMap.cpp.

◆ Visit() [2/3]

void GarrisonGridLoader::Visit ( GameObjectMapType m)

Definition at line 74 of file GarrisonMap.cpp.

+ Here is the call graph for this function:

◆ Visit() [3/3]

template<class T >
void GarrisonGridLoader::Visit ( GridRefManager< T > &  )
inline

Definition at line 41 of file GarrisonMap.cpp.

Member Data Documentation

◆ i_cell

Cell GarrisonGridLoader::i_cell
private

Definition at line 44 of file GarrisonMap.cpp.

◆ i_creatures

uint32 GarrisonGridLoader::i_creatures
private

Definition at line 49 of file GarrisonMap.cpp.

◆ i_gameObjects

uint32 GarrisonGridLoader::i_gameObjects
private

Definition at line 48 of file GarrisonMap.cpp.

◆ i_garrison

Garrison* GarrisonGridLoader::i_garrison
private

Definition at line 47 of file GarrisonMap.cpp.

◆ i_grid

NGridType* GarrisonGridLoader::i_grid
private

Definition at line 45 of file GarrisonMap.cpp.

◆ i_map

GarrisonMap* GarrisonGridLoader::i_map
private

Definition at line 46 of file GarrisonMap.cpp.


The documentation for this class was generated from the following file: