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

#include <UnitEvents.h>

Public Member Functions

 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

HostileReferenceiHostileReference
 
union {
   float   iFValue
 
   int32   iIValue
 
   bool   iBValue
 
}; 
 
ThreatManageriThreatManager
 

Constructor & Destructor Documentation

ThreatRefStatusChangeEvent::ThreatRefStatusChangeEvent ( uint32  pType)
inline
arena_t NULL
Definition: jemalloc_internal.h:624
UnitBaseEvent(uint32 pType)
Definition: UnitEvents.h:75
ThreatManager * iThreatManager
Definition: UnitEvents.h:94
HostileReference * iHostileReference
Definition: UnitEvents.h:87
ThreatRefStatusChangeEvent::ThreatRefStatusChangeEvent ( uint32  pType,
HostileReference pHostileReference 
)
inline
98 : UnitBaseEvent(pType), iThreatManager(NULL) { iHostileReference = pHostileReference; }
arena_t NULL
Definition: jemalloc_internal.h:624
UnitBaseEvent(uint32 pType)
Definition: UnitEvents.h:75
ThreatManager * iThreatManager
Definition: UnitEvents.h:94
HostileReference * iHostileReference
Definition: UnitEvents.h:87
ThreatRefStatusChangeEvent::ThreatRefStatusChangeEvent ( uint32  pType,
HostileReference pHostileReference,
float  pValue 
)
inline
100 : UnitBaseEvent(pType), iThreatManager(NULL) { iHostileReference = pHostileReference; iFValue = pValue; }
arena_t NULL
Definition: jemalloc_internal.h:624
UnitBaseEvent(uint32 pType)
Definition: UnitEvents.h:75
float iFValue
Definition: UnitEvents.h:90
ThreatManager * iThreatManager
Definition: UnitEvents.h:94
HostileReference * iHostileReference
Definition: UnitEvents.h:87
ThreatRefStatusChangeEvent::ThreatRefStatusChangeEvent ( uint32  pType,
HostileReference pHostileReference,
bool  pValue 
)
inline
102 : UnitBaseEvent(pType), iThreatManager(NULL) { iHostileReference = pHostileReference; iBValue = pValue; }
bool iBValue
Definition: UnitEvents.h:92
arena_t NULL
Definition: jemalloc_internal.h:624
UnitBaseEvent(uint32 pType)
Definition: UnitEvents.h:75
ThreatManager * iThreatManager
Definition: UnitEvents.h:94
HostileReference * iHostileReference
Definition: UnitEvents.h:87

Member Function Documentation

bool ThreatRefStatusChangeEvent::getBValue ( ) const
inline
108 { return iBValue; }
bool iBValue
Definition: UnitEvents.h:92
float ThreatRefStatusChangeEvent::getFValue ( ) const
inline
106 { return iFValue; }
float iFValue
Definition: UnitEvents.h:90

+ Here is the caller graph for this function:

int32 ThreatRefStatusChangeEvent::getIValue ( ) const
inline
104 { return iIValue; }
int32 iIValue
Definition: UnitEvents.h:91
HostileReference* ThreatRefStatusChangeEvent::getReference ( ) const
inline
112 { return iHostileReference; }
HostileReference * iHostileReference
Definition: UnitEvents.h:87

+ Here is the caller graph for this function:

ThreatManager* ThreatRefStatusChangeEvent::getThreatManager ( ) const
inline
116 { return iThreatManager; }
ThreatManager * iThreatManager
Definition: UnitEvents.h:94
void ThreatRefStatusChangeEvent::setBValue ( bool  pValue)
inline
110 { iBValue = pValue; }
bool iBValue
Definition: UnitEvents.h:92
void ThreatRefStatusChangeEvent::setThreatManager ( ThreatManager pThreatManager)
inline
114 { iThreatManager = pThreatManager; }
ThreatManager * iThreatManager
Definition: UnitEvents.h:94

+ Here is the caller graph for this function:

Member Data Documentation

union { ... }
bool ThreatRefStatusChangeEvent::iBValue
float ThreatRefStatusChangeEvent::iFValue
HostileReference* ThreatRefStatusChangeEvent::iHostileReference
private
int32 ThreatRefStatusChangeEvent::iIValue
ThreatManager* ThreatRefStatusChangeEvent::iThreatManager
private

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