#include "Creature.h"
◆ TemporaryThreatModifierEvent()
| TemporaryThreatModifierEvent::TemporaryThreatModifierEvent |
( |
Creature & |
owner, |
|
|
ObjectGuid |
threatVictimGUID, |
|
|
float |
threatValue |
|
) |
| |
|
inline |
float m_threatValue
Definition Creature.h:592
Creature & m_owner
Definition Creature.h:590
ObjectGuid m_threatVictimGUID
Definition Creature.h:591
◆ Execute()
| bool TemporaryThreatModifierEvent::Execute |
( |
uint64 |
e_time, |
|
|
uint32 |
p_time |
|
) |
| |
|
overridevirtual |
Reimplemented from BasicEvent.
248{
250 {
252 {
255 }
256 }
257
258 return true;
259}
void ModifyThreatByPercent(Unit *target, int32 percent)
Definition ThreatManager.h:150
void AddThreat(Unit *target, float amount, SpellInfo const *spell=nullptr, bool ignoreModifiers=false, bool ignoreRedirects=false)
== AFFECT MY THREAT LIST ==
Definition ThreatManager.cpp:388
bool IsInCombatWith(Unit const *who) const
Definition Unit.cpp:17045
ThreatManager & GetThreatMgr()
Definition Unit.h:951
Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
Definition ObjectAccessor.cpp:199
References ThreatManager::AddThreat(), Unit::GetThreatMgr(), ObjectAccessor::GetUnit(), Unit::IsInCombatWith(), m_owner, m_threatValue, m_threatVictimGUID, and ThreatManager::ModifyThreatByPercent().
◆ m_owner
| Creature& TemporaryThreatModifierEvent::m_owner |
|
private |
◆ m_threatValue
| float TemporaryThreatModifierEvent::m_threatValue |
|
private |
◆ m_threatVictimGUID
| ObjectGuid TemporaryThreatModifierEvent::m_threatVictimGUID |
|
private |
The documentation for this class was generated from the following files:
- azerothcore-wotlk/src/server/game/Entities/Creature/Creature.h
- azerothcore-wotlk/src/server/game/Entities/Creature/Creature.cpp