TrinityCore
SmoothPhasing Class Reference

#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
 

Detailed Description

Definition at line 37 of file SmoothPhasing.h.

Member Typedef Documentation

◆ SmoothPhasingInfoSingle

Definition at line 53 of file SmoothPhasing.h.

◆ SmoothPhasingInfoViewerDependent

Definition at line 52 of file SmoothPhasing.h.

Member Function Documentation

◆ ClearViewerDependentInfo()

void SmoothPhasing::ClearViewerDependentInfo ( ObjectGuid  seer)

Definition at line 29 of file SmoothPhasing.cpp.

◆ DisableReplacementForSeer()

void SmoothPhasing::DisableReplacementForSeer ( ObjectGuid  seer)

Definition at line 62 of file SmoothPhasing.cpp.

+ Here is the call graph for this function:

◆ GetInfoForSeer()

SmoothPhasingInfo const * SmoothPhasing::GetInfoForSeer ( ObjectGuid  seer) const

Definition at line 54 of file SmoothPhasing.cpp.

+ Here is the call graph for this function:

◆ IsBeingReplacedForSeer()

bool SmoothPhasing::IsBeingReplacedForSeer ( ObjectGuid  seer) const

Definition at line 45 of file SmoothPhasing.cpp.

+ Here is the call graph for this function:

◆ IsReplacing()

bool SmoothPhasing::IsReplacing ( ObjectGuid  guid) const

Definition at line 40 of file SmoothPhasing.cpp.

◆ SetSingleInfo()

void SmoothPhasing::SetSingleInfo ( SmoothPhasingInfo const &  info)

Definition at line 35 of file SmoothPhasing.cpp.

+ Here is the caller graph for this function:

◆ SetViewerDependentInfo()

void SmoothPhasing::SetViewerDependentInfo ( ObjectGuid  seer,
SmoothPhasingInfo const &  info 
)

Definition at line 21 of file SmoothPhasing.cpp.

Member Data Documentation

◆ _storage

std::variant<SmoothPhasingInfoSingle, SmoothPhasingInfoViewerDependent> SmoothPhasing::_storage
private

Definition at line 55 of file SmoothPhasing.h.


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