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

#include "UnitEvents.h"

Inheritance diagram for UnitBaseEvent:
ThreatRefStatusChangeEvent ThreatMgrEvent

Public Member Functions

 UnitBaseEvent (uint32 pType)
 
uint32 getType () const
 
bool matchesTypeMask (uint32 pMask) const
 
void setType (uint32 pType)
 

Private Attributes

uint32 iType
 

Detailed Description

Constructor & Destructor Documentation

◆ UnitBaseEvent()

UnitBaseEvent::UnitBaseEvent ( uint32  pType)
inline
74{ iType = pType; }
uint32 iType
Definition: UnitEvents.h:72

References iType.

Member Function Documentation

◆ getType()

uint32 UnitBaseEvent::getType ( ) const
inline
75{ return iType; }

References iType.

Referenced by ThreatMgr::processThreatEvent().

◆ matchesTypeMask()

bool UnitBaseEvent::matchesTypeMask ( uint32  pMask) const
inline
76{ return iType & pMask; }

References iType.

◆ setType()

void UnitBaseEvent::setType ( uint32  pType)
inline
78{ iType = pType; }

References iType.

Member Data Documentation

◆ iType

uint32 UnitBaseEvent::iType
private