TrinityCore
MultiPersonalPhaseTracker Struct Reference

#include <PersonalPhaseTracker.h>

Public Member Functions

void LoadGrid (PhaseShift const &phaseShift, NGridType &grid, Map *map, Cell const &cell)
 
void UnloadGrid (NGridType &grid)
 
void RegisterTrackedObject (uint32 phaseId, ObjectGuid const &phaseOwner, WorldObject *object)
 
void UnregisterTrackedObject (WorldObject *object)
 
void OnOwnerPhaseChanged (WorldObject const *phaseOwner, NGridType *grid, Map *map, Cell const &cell)
 
void MarkAllPhasesForDeletion (ObjectGuid const &phaseOwner)
 
void Update (Map *map, uint32 diff)
 

Private Attributes

std::unordered_map< ObjectGuid, PlayerPersonalPhasesTracker_playerData
 

Detailed Description

Definition at line 68 of file PersonalPhaseTracker.h.

Member Function Documentation

◆ LoadGrid()

void MultiPersonalPhaseTracker::LoadGrid ( PhaseShift const &  phaseShift,
NGridType grid,
Map map,
Cell const &  cell 
)

Definition at line 119 of file PersonalPhaseTracker.cpp.

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

◆ MarkAllPhasesForDeletion()

void MultiPersonalPhaseTracker::MarkAllPhasesForDeletion ( ObjectGuid const &  phaseOwner)

Definition at line 186 of file PersonalPhaseTracker.cpp.

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

◆ OnOwnerPhaseChanged()

void MultiPersonalPhaseTracker::OnOwnerPhaseChanged ( WorldObject const *  phaseOwner,
NGridType grid,
Map map,
Cell const &  cell 
)

Definition at line 177 of file PersonalPhaseTracker.cpp.

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

◆ RegisterTrackedObject()

void MultiPersonalPhaseTracker::RegisterTrackedObject ( uint32  phaseId,
ObjectGuid const &  phaseOwner,
WorldObject object 
)

Definition at line 162 of file PersonalPhaseTracker.cpp.

+ Here is the call graph for this function:

◆ UnloadGrid()

void MultiPersonalPhaseTracker::UnloadGrid ( NGridType grid)

Definition at line 150 of file PersonalPhaseTracker.cpp.

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

◆ UnregisterTrackedObject()

void MultiPersonalPhaseTracker::UnregisterTrackedObject ( WorldObject object)

Definition at line 171 of file PersonalPhaseTracker.cpp.

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

◆ Update()

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

Definition at line 192 of file PersonalPhaseTracker.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _playerData

std::unordered_map<ObjectGuid , PlayerPersonalPhasesTracker> MultiPersonalPhaseTracker::_playerData
private

Definition at line 82 of file PersonalPhaseTracker.h.


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