TrinityCore
|
#include <SmoothPhasing.h>
Public Member Functions | |
void | SetViewerDependentInfo (ObjectGuid seer, SmoothPhasingInfo const &info) |
void | ClearViewerDependentInfo (ObjectGuid seer) |
void | SetSingleInfo (SmoothPhasingInfo const &info) |
bool | IsReplacing (ObjectGuid guid) const |
bool | IsBeingReplacedForSeer (ObjectGuid seer) const |
SmoothPhasingInfo const * | GetInfoForSeer (ObjectGuid seer) const |
void | DisableReplacementForSeer (ObjectGuid seer) |
Private Types | |
using | SmoothPhasingInfoViewerDependent = std::unordered_map< ObjectGuid, SmoothPhasingInfo > |
using | SmoothPhasingInfoSingle = SmoothPhasingInfo |
Private Attributes | |
std::variant< SmoothPhasingInfoSingle, SmoothPhasingInfoViewerDependent > | _storage |
Definition at line 37 of file SmoothPhasing.h.
|
private |
Definition at line 53 of file SmoothPhasing.h.
|
private |
Definition at line 52 of file SmoothPhasing.h.
void SmoothPhasing::ClearViewerDependentInfo | ( | ObjectGuid | seer | ) |
Definition at line 29 of file SmoothPhasing.cpp.
void SmoothPhasing::DisableReplacementForSeer | ( | ObjectGuid | seer | ) |
SmoothPhasingInfo const * SmoothPhasing::GetInfoForSeer | ( | ObjectGuid | seer | ) | const |
bool SmoothPhasing::IsBeingReplacedForSeer | ( | ObjectGuid | seer | ) | const |
bool SmoothPhasing::IsReplacing | ( | ObjectGuid | guid | ) | const |
Definition at line 40 of file SmoothPhasing.cpp.
void SmoothPhasing::SetSingleInfo | ( | SmoothPhasingInfo const & | info | ) |
void SmoothPhasing::SetViewerDependentInfo | ( | ObjectGuid | seer, |
SmoothPhasingInfo const & | info | ||
) |
Definition at line 21 of file SmoothPhasing.cpp.
|
private |
Definition at line 55 of file SmoothPhasing.h.