19 #ifndef _HOSTILEREFMANAGER
20 #define _HOSTILEREFMANAGER
45 void threatAssist(
Unit* victim,
float baseThreat,
SpellInfo const* threatSpell =
NULL);
47 void addTempThreat(
float threat,
bool apply);
49 void addThreatPercent(
int32 percent);
53 void deleteReferences();
56 void deleteReferencesForFaction(
uint32 faction);
60 void updateThreatTables();
62 void setOnlineOfflineState(
bool isOnline);
65 void setOnlineOfflineState(
Unit* creature,
bool isOnline);
68 void deleteReference(
Unit* creature);
70 void UpdateVisibility();
Definition: SpellInfo.h:326
arena_t NULL
Definition: jemalloc_internal.h:624
HostileRefManager(Unit *owner)
Definition: HostileRefManager.h:37
Definition: ThreatManager.h:201
Unit * iOwner
Definition: HostileRefManager.h:35
Definition: RefManager.h:26
void apply(T *val)
Definition: ByteConverter.h:41
Unit * GetOwner()
Definition: HostileRefManager.h:40
Definition: ThreatManager.h:49
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
HostileReference * getFirst()
Definition: HostileRefManager.h:58
#define TC_GAME_API
Definition: Define.h:134
Definition: HostileRefManager.h:32