#include <HostileRefManager.h>
HostileRefManager::HostileRefManager |
( |
Unit * |
owner | ) |
|
|
inlineexplicit |
Unit * iOwner
Definition: HostileRefManager.h:35
HostileRefManager::~HostileRefManager |
( |
| ) |
|
void deleteReferences()
Definition: HostileRefManager.cpp:114
void HostileRefManager::addTempThreat |
( |
float |
threat, |
|
|
bool |
apply |
|
) |
| |
void apply(T *val)
Definition: ByteConverter.h:41
float getTempThreatModifier()
Definition: ThreatManager.h:92
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
void resetTempThreat()
Definition: ThreatManager.h:83
void addTempThreat(float threat)
Definition: ThreatManager.h:76
void HostileRefManager::addThreatPercent |
( |
int32 |
percent | ) |
|
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
void addThreatPercent(int32 percent)
Definition: ThreatManager.cpp:157
void HostileRefManager::deleteReference |
( |
Unit * |
creature | ) |
|
void removeReference()
Definition: ThreatManager.cpp:234
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
FROM * GetSource() const
Definition: Reference.h:96
Unit * GetOwner() const
Definition: ThreatManager.h:228
void HostileRefManager::deleteReferences |
( |
| ) |
|
void removeReference()
Definition: ThreatManager.cpp:234
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
void HostileRefManager::deleteReferencesForFaction |
( |
uint32 |
faction | ) |
|
void removeReference()
Definition: ThreatManager.cpp:234
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
FROM * GetSource() const
Definition: Reference.h:96
Unit * GetOwner() const
Definition: ThreatManager.h:228
FactionTemplateEntry const * GetFactionTemplateEntry() const
Definition: Unit.cpp:7019
uint32 Faction
Definition: DBCStructure.h:436
Definition: RefManager.h:26
Definition: ThreatManager.h:49
Unit* HostileRefManager::GetOwner |
( |
| ) |
|
|
inline |
Unit * iOwner
Definition: HostileRefManager.h:35
void HostileRefManager::setOnlineOfflineState |
( |
bool |
isOnline | ) |
|
void setOnlineOfflineState(bool isOnline)
Definition: ThreatManager.cpp:204
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
void HostileRefManager::setOnlineOfflineState |
( |
Unit * |
creature, |
|
|
bool |
isOnline |
|
) |
| |
void setOnlineOfflineState(bool isOnline)
Definition: ThreatManager.cpp:204
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
FROM * GetSource() const
Definition: Reference.h:96
Unit * GetOwner() const
Definition: ThreatManager.h:228
void HostileRefManager::threatAssist |
( |
Unit * |
victim, |
|
|
float |
baseThreat, |
|
|
SpellInfo const * |
threatSpell = NULL |
|
) |
| |
static bool isValidProcess(Unit *hatedUnit, Unit *hatingUnit, SpellInfo const *threatSpell=NULL)
Definition: ThreatManager.cpp:54
static float calcThreat(Unit *hatedUnit, Unit *hatingUnit, float threat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=NULL)
Definition: ThreatManager.cpp:34
uint32 getSize() const
Definition: LinkedList.h:120
void doAddThreat(Unit *victim, float threat)
Definition: ThreatManager.cpp:414
Unit * iOwner
Definition: HostileRefManager.h:35
Definition: SharedDefines.h:288
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
FROM * GetSource() const
Definition: Reference.h:96
Unit * GetOwner() const
Definition: ThreatManager.h:228
void HostileRefManager::updateThreatTables |
( |
| ) |
|
void updateOnlineStatus()
Definition: ThreatManager.cpp:167
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
void HostileRefManager::UpdateVisibility |
( |
| ) |
|
191 nextRef = ref->
next();
void removeReference()
Definition: ThreatManager.cpp:234
Unit * GetOwner()
Definition: HostileRefManager.h:40
HostileReference * next()
Definition: ThreatManager.h:116
Definition: ThreatManager.h:49
HostileReference * getFirst()
Definition: HostileRefManager.h:58
FROM * GetSource() const
Definition: Reference.h:96
Unit * GetOwner() const
Definition: ThreatManager.h:228
bool CanSeeOrDetect(WorldObject const *obj, bool ignoreStealth=false, bool distanceCheck=false, bool checkAlert=false) const
Definition: Object.cpp:1940
Unit* HostileRefManager::iOwner |
|
private |
The documentation for this class was generated from the following files: