![]() |
TrinityCore
|
#include <PhaseShift.h>
Classes | |
| struct | EraseResult |
| struct | PhaseRef |
| struct | UiMapPhaseIdRef |
| struct | VisibleMapIdRef |
Public Types | |
| using | PhaseContainer = Trinity::Containers::FlatSet< PhaseRef > |
| using | VisibleMapIdContainer = std::map< uint32, VisibleMapIdRef > |
| using | UiMapPhaseIdContainer = std::map< uint32, UiMapPhaseIdRef > |
Protected Member Functions | |
| void | ModifyPhasesReferences (PhaseContainer::iterator itr, int32 references) |
| void | UpdateUnphasedFlag () |
| void | UpdatePersonalGuid () |
Protected Attributes | |
| EnumFlag< PhaseShiftFlags > | Flags = PhaseShiftFlags::Unphased |
| ObjectGuid | PersonalGuid |
| PhaseContainer | Phases |
| VisibleMapIdContainer | VisibleMapIds |
| UiMapPhaseIdContainer | UiMapPhaseIds |
| int32 | NonCosmeticReferences = 0 |
| int32 | CosmeticReferences = 0 |
| int32 | PersonalReferences = 0 |
| int32 | DefaultReferences = 0 |
| bool | IsDbPhaseShift = false |
Friends | |
| class | PhasingHandler |
Definition at line 54 of file PhaseShift.h.
Definition at line 85 of file PhaseShift.h.
| using PhaseShift::UiMapPhaseIdContainer = std::map<uint32, UiMapPhaseIdRef> |
Definition at line 87 of file PhaseShift.h.
| using PhaseShift::VisibleMapIdContainer = std::map<uint32, VisibleMapIdRef> |
Definition at line 86 of file PhaseShift.h.
|
default |
|
default |
|
defaultnoexcept |
|
default |
| bool PhaseShift::AddPhase | ( | uint32 | phaseId, |
| PhaseFlags | flags, | ||
| std::vector< Condition > const * | areaConditions, | ||
| int32 | references = 1 |
||
| ) |
Definition at line 28 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool PhaseShift::AddVisibleMapId | ( | uint32 | visibleMapId, |
| TerrainSwapInfo const * | visibleMapInfo, | ||
| int32 | references = 1 |
||
| ) |
| bool PhaseShift::CanSee | ( | PhaseShift const & | other | ) | const |
| void PhaseShift::Clear | ( | ) |
| void PhaseShift::ClearPhases | ( | ) |
Definition at line 96 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 111 of file PhaseShift.h.
|
inline |
Definition at line 106 of file PhaseShift.h.
| bool PhaseShift::HasPersonalPhase | ( | ) | const |
Definition at line 197 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 110 of file PhaseShift.h.
|
inline |
|
protected |
Definition at line 155 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
defaultnoexcept |
|
default |
| PhaseShift::EraseResult< PhaseShift::PhaseContainer > PhaseShift::RemovePhase | ( | uint32 | phaseId | ) |
Definition at line 38 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| PhaseShift::EraseResult< PhaseShift::UiMapPhaseIdContainer > PhaseShift::RemoveUiMapPhaseId | ( | uint32 | uiMapPhaseId | ) |
| PhaseShift::EraseResult< PhaseShift::VisibleMapIdContainer > PhaseShift::RemoveVisibleMapId | ( | uint32 | visibleMapId | ) |
Definition at line 58 of file PhaseShift.cpp.
|
protected |
Definition at line 191 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 181 of file PhaseShift.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 121 of file PhaseShift.h.
|
protected |
Definition at line 133 of file PhaseShift.h.
|
protected |
Definition at line 135 of file PhaseShift.h.
|
protected |
Definition at line 123 of file PhaseShift.h.
|
protected |
Definition at line 136 of file PhaseShift.h.
|
protected |
Definition at line 132 of file PhaseShift.h.
|
protected |
Definition at line 124 of file PhaseShift.h.
|
protected |
Definition at line 134 of file PhaseShift.h.
|
protected |
Definition at line 125 of file PhaseShift.h.
|
protected |
Definition at line 127 of file PhaseShift.h.
|
protected |
Definition at line 126 of file PhaseShift.h.