TrinityCore
PlayerPersonalPhasesTracker Struct Reference

#include <PersonalPhaseTracker.h>

Public Member Functions

void RegisterTrackedObject (uint32 phaseId, WorldObject *object)
 
void UnregisterTrackedObject (WorldObject *object)
 
void OnOwnerPhasesChanged (WorldObject const *owner)
 
void MarkAllPhasesForDeletion ()
 
void Update (Map *map, uint32 diff)
 
bool IsGridLoadedForPhase (uint32 gridId, uint32 phaseId) const
 
void SetGridLoadedForPhase (uint32 gridId, uint32 phaseId)
 
void SetGridUnloaded (uint32 gridId)
 
bool IsEmpty () const
 

Private Member Functions

void DespawnPhase (Map *map, PersonalPhaseSpawns &spawns)
 

Private Attributes

std::unordered_map< uint32, PersonalPhaseSpawns_spawns
 

Detailed Description

Definition at line 44 of file PersonalPhaseTracker.h.

Member Function Documentation

◆ DespawnPhase()

void PlayerPersonalPhasesTracker::DespawnPhase ( Map map,
PersonalPhaseSpawns spawns 
)
private

Definition at line 106 of file PersonalPhaseTracker.cpp.

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

◆ IsEmpty()

bool PlayerPersonalPhasesTracker::IsEmpty ( ) const
inline

Definition at line 59 of file PersonalPhaseTracker.h.

◆ IsGridLoadedForPhase()

bool PlayerPersonalPhasesTracker::IsGridLoadedForPhase ( uint32  gridId,
uint32  phaseId 
) const

Definition at line 80 of file PersonalPhaseTracker.cpp.

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

◆ MarkAllPhasesForDeletion()

void PlayerPersonalPhasesTracker::MarkAllPhasesForDeletion ( )

Definition at line 56 of file PersonalPhaseTracker.cpp.

◆ OnOwnerPhasesChanged()

void PlayerPersonalPhasesTracker::OnOwnerPhasesChanged ( WorldObject const *  owner)

Definition at line 41 of file PersonalPhaseTracker.cpp.

+ Here is the call graph for this function:

◆ RegisterTrackedObject()

void PlayerPersonalPhasesTracker::RegisterTrackedObject ( uint32  phaseId,
WorldObject object 
)

Definition at line 30 of file PersonalPhaseTracker.cpp.

◆ SetGridLoadedForPhase()

void PlayerPersonalPhasesTracker::SetGridLoadedForPhase ( uint32  gridId,
uint32  phaseId 
)

Definition at line 88 of file PersonalPhaseTracker.cpp.

+ Here is the caller graph for this function:

◆ SetGridUnloaded()

void PlayerPersonalPhasesTracker::SetGridUnloaded ( uint32  gridId)

Definition at line 94 of file PersonalPhaseTracker.cpp.

◆ UnregisterTrackedObject()

void PlayerPersonalPhasesTracker::UnregisterTrackedObject ( WorldObject object)

Definition at line 35 of file PersonalPhaseTracker.cpp.

◆ Update()

void PlayerPersonalPhasesTracker::Update ( Map map,
uint32  diff 
)

Definition at line 62 of file PersonalPhaseTracker.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _spawns

std::unordered_map<uint32 , PersonalPhaseSpawns> PlayerPersonalPhasesTracker::_spawns
private

Definition at line 64 of file PersonalPhaseTracker.h.


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