TrinityCore
PersonalPhaseGridLoader Class Reference

#include <ObjectGridLoader.h>

+ Inheritance diagram for PersonalPhaseGridLoader:

Public Member Functions

 PersonalPhaseGridLoader (NGridType &grid, Map *map, Cell const &cell, ObjectGuid const &phaseOwner)
 
void Visit (GameObjectMapType &m)
 
void Visit (CreatureMapType &m)
 
void Visit (AreaTriggerMapType &) const
 
void Visit (CorpseMapType &) const
 
void Visit (DynamicObjectMapType &) const
 
void Visit (SceneObjectMapType &) const
 
void Visit (ConversationMapType &) const
 
void Load (uint32 phaseId)
 
- Public Member Functions inherited from ObjectGridLoaderBase
 ObjectGridLoaderBase (NGridType &grid, Map *map, Cell const &cell)
 
uint32 GetLoadedCreatures () const
 
uint32 GetLoadedGameObjects () const
 
uint32 GetLoadedCorpses () const
 
uint32 GetLoadedAreaTriggers () const
 

Private Attributes

uint32 _phaseId
 
ObjectGuid const & _phaseOwner
 

Additional Inherited Members

- Static Public Member Functions inherited from ObjectGridLoaderBase
static void SetObjectCell (MapObject *obj, CellCoord const &cellCoord)
 
- Protected Attributes inherited from ObjectGridLoaderBase
Cell i_cell
 
NGridTypei_grid
 
Mapi_map
 
uint32 i_gameObjects
 
uint32 i_creatures
 
uint32 i_corpses
 
uint32 i_areaTriggers
 

Detailed Description

Definition at line 73 of file ObjectGridLoader.h.

Constructor & Destructor Documentation

◆ PersonalPhaseGridLoader()

PersonalPhaseGridLoader::PersonalPhaseGridLoader ( NGridType grid,
Map map,
Cell const &  cell,
ObjectGuid const &  phaseOwner 
)
inline

Definition at line 76 of file ObjectGridLoader.h.

Member Function Documentation

◆ Load()

void PersonalPhaseGridLoader::Load ( uint32  phaseId)

Definition at line 214 of file ObjectGridLoader.cpp.

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

◆ Visit() [1/7]

void PersonalPhaseGridLoader::Visit ( AreaTriggerMapType ) const
inline

Definition at line 82 of file ObjectGridLoader.h.

◆ Visit() [2/7]

void PersonalPhaseGridLoader::Visit ( ConversationMapType ) const
inline

Definition at line 86 of file ObjectGridLoader.h.

◆ Visit() [3/7]

void PersonalPhaseGridLoader::Visit ( CorpseMapType ) const
inline

Definition at line 83 of file ObjectGridLoader.h.

◆ Visit() [4/7]

void PersonalPhaseGridLoader::Visit ( CreatureMapType m)

Definition at line 207 of file ObjectGridLoader.cpp.

+ Here is the call graph for this function:

◆ Visit() [5/7]

void PersonalPhaseGridLoader::Visit ( DynamicObjectMapType ) const
inline

Definition at line 84 of file ObjectGridLoader.h.

◆ Visit() [6/7]

void PersonalPhaseGridLoader::Visit ( GameObjectMapType m)

Definition at line 200 of file ObjectGridLoader.cpp.

+ Here is the call graph for this function:

◆ Visit() [7/7]

void PersonalPhaseGridLoader::Visit ( SceneObjectMapType ) const
inline

Definition at line 85 of file ObjectGridLoader.h.

Member Data Documentation

◆ _phaseId

uint32 PersonalPhaseGridLoader::_phaseId
private

Definition at line 91 of file ObjectGridLoader.h.

◆ _phaseOwner

ObjectGuid const& PersonalPhaseGridLoader::_phaseOwner
private

Definition at line 92 of file ObjectGridLoader.h.


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