TrinityCore
Loading...
Searching...
No Matches
ObjectGridLoader Class Reference

#include <ObjectGridLoader.h>

Public Member Functions

 ObjectGridLoader (NGridType &grid, Map *map, Cell const &cell)
 
void Visit (GameObjectMapType &m)
 
void Visit (CreatureMapType &m)
 
void Visit (CorpseMapType &) const
 
void Visit (DynamicObjectMapType &) const
 
void LoadN (void)
 

Static Public Member Functions

static void SetObjectCell (MapObject *obj, CellCoord const &cellCoord)
 

Private Attributes

Cell i_cell
 
NGridTypei_grid
 
Mapi_map
 
uint32 i_gameObjects
 
uint32 i_creatures
 
uint32 i_corpses
 

Friends

class ObjectWorldLoader
 

Detailed Description

Definition at line 30 of file ObjectGridLoader.h.

Constructor & Destructor Documentation

◆ ObjectGridLoader()

ObjectGridLoader::ObjectGridLoader ( NGridType grid,
Map map,
Cell const &  cell 
)
inline

Definition at line 35 of file ObjectGridLoader.h.

Member Function Documentation

◆ LoadN()

void ObjectGridLoader::LoadN ( void  )

Definition at line 154 of file ObjectGridLoader.cpp.

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

◆ SetObjectCell()

void ObjectGridLoader::SetObjectCell ( MapObject obj,
CellCoord const &  cellCoord 
)
static

Definition at line 82 of file ObjectGridLoader.cpp.

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

◆ Visit() [1/4]

void ObjectGridLoader::Visit ( CorpseMapType ) const
inline

Definition at line 41 of file ObjectGridLoader.h.

◆ Visit() [2/4]

void ObjectGridLoader::Visit ( CreatureMapType m)

Definition at line 128 of file ObjectGridLoader.cpp.

+ Here is the call graph for this function:

◆ Visit() [3/4]

void ObjectGridLoader::Visit ( DynamicObjectMapType ) const
inline

Definition at line 42 of file ObjectGridLoader.h.

◆ Visit() [4/4]

void ObjectGridLoader::Visit ( GameObjectMapType m)

Definition at line 121 of file ObjectGridLoader.cpp.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ ObjectWorldLoader

friend class ObjectWorldLoader
friend

Definition at line 32 of file ObjectGridLoader.h.

Member Data Documentation

◆ i_cell

Cell ObjectGridLoader::i_cell
private

Definition at line 49 of file ObjectGridLoader.h.

◆ i_corpses

uint32 ObjectGridLoader::i_corpses
private

Definition at line 54 of file ObjectGridLoader.h.

◆ i_creatures

uint32 ObjectGridLoader::i_creatures
private

Definition at line 53 of file ObjectGridLoader.h.

◆ i_gameObjects

uint32 ObjectGridLoader::i_gameObjects
private

Definition at line 52 of file ObjectGridLoader.h.

◆ i_grid

NGridType& ObjectGridLoader::i_grid
private

Definition at line 50 of file ObjectGridLoader.h.

◆ i_map

Map* ObjectGridLoader::i_map
private

Definition at line 51 of file ObjectGridLoader.h.


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