AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ThreatMgrEvent Class Reference

#include "UnitEvents.h"

Inheritance diagram for ThreatMgrEvent:
ThreatRefStatusChangeEvent UnitBaseEvent

Public Member Functions

 ThreatMgrEvent (uint32 pType)
 
 ThreatMgrEvent (uint32 pType, HostileReference *pHostileReference)
 
void setThreatContainer (ThreatContainer *pThreatContainer)
 
ThreatContainergetThreatContainer () const
 
- Public Member Functions inherited from ThreatRefStatusChangeEvent
 ThreatRefStatusChangeEvent (uint32 pType)
 
 ThreatRefStatusChangeEvent (uint32 pType, HostileReference *pHostileReference)
 
 ThreatRefStatusChangeEvent (uint32 pType, HostileReference *pHostileReference, float pValue)
 
 ThreatRefStatusChangeEvent (uint32 pType, HostileReference *pHostileReference, bool pValue)
 
int32 getIValue () const
 
float getFValue () const
 
bool getBValue () const
 
void setBValue (bool pValue)
 
HostileReferencegetReference () const
 
void setThreatMgr (ThreatMgr *pThreatMgr)
 
ThreatMgrGetThreatMgr () const
 
- Public Member Functions inherited from UnitBaseEvent
 UnitBaseEvent (uint32 pType)
 
uint32 getType () const
 
bool matchesTypeMask (uint32 pMask) const
 
void setType (uint32 pType)
 

Private Attributes

ThreatContaineriThreatContainer
 

Detailed Description

Constructor & Destructor Documentation

◆ ThreatMgrEvent() [1/2]

ThreatMgrEvent::ThreatMgrEvent ( uint32  pType)
inline
Definition: UnitEvents.h:84
ThreatContainer * iThreatContainer
Definition: UnitEvents.h:123

◆ ThreatMgrEvent() [2/2]

ThreatMgrEvent::ThreatMgrEvent ( uint32  pType,
HostileReference pHostileReference 
)
inline
126: ThreatRefStatusChangeEvent(pType, pHostileReference), iThreatContainer(nullptr) {}

Member Function Documentation

◆ getThreatContainer()

ThreatContainer * ThreatMgrEvent::getThreatContainer ( ) const
inline
130{ return iThreatContainer; }

References iThreatContainer.

◆ setThreatContainer()

void ThreatMgrEvent::setThreatContainer ( ThreatContainer pThreatContainer)
inline
128{ iThreatContainer = pThreatContainer; }

References iThreatContainer.

Member Data Documentation

◆ iThreatContainer

ThreatContainer* ThreatMgrEvent::iThreatContainer
private