TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ThreatManagerEvent Class Reference

#include <UnitEvents.h>

Public Member Functions

 ThreatManagerEvent (uint32 pType)
 
 ThreatManagerEvent (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 setThreatManager (ThreatManager *pThreatManager)
 
ThreatManagergetThreatManager () 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
 

Constructor & Destructor Documentation

ThreatManagerEvent::ThreatManagerEvent ( uint32  pType)
inline
ThreatContainer * iThreatContainer
Definition: UnitEvents.h:124
ThreatRefStatusChangeEvent(uint32 pType)
Definition: UnitEvents.h:96
arena_t NULL
Definition: jemalloc_internal.h:624
ThreatManagerEvent::ThreatManagerEvent ( uint32  pType,
HostileReference pHostileReference 
)
inline
127 : ThreatRefStatusChangeEvent(pType, pHostileReference), iThreatContainer(NULL) { }
ThreatContainer * iThreatContainer
Definition: UnitEvents.h:124
ThreatRefStatusChangeEvent(uint32 pType)
Definition: UnitEvents.h:96
arena_t NULL
Definition: jemalloc_internal.h:624

Member Function Documentation

ThreatContainer* ThreatManagerEvent::getThreatContainer ( ) const
inline
131 { return iThreatContainer; }
ThreatContainer * iThreatContainer
Definition: UnitEvents.h:124
void ThreatManagerEvent::setThreatContainer ( ThreatContainer pThreatContainer)
inline
129 { iThreatContainer = pThreatContainer; }
ThreatContainer * iThreatContainer
Definition: UnitEvents.h:124

Member Data Documentation

ThreatContainer* ThreatManagerEvent::iThreatContainer
private

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