AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
RestoreFight Class Reference
Inheritance diagram for RestoreFight:
BasicEvent BasicEvent

Public Member Functions

 RestoreFight (Creature *owner)
 
bool Execute (uint64, uint32) override
 
 RestoreFight (Creature *owner)
 
bool Execute (uint64, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()=default
 
virtual ~BasicEvent ()=default
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

Creature_owner
 

Detailed Description

Constructor & Destructor Documentation

◆ RestoreFight() [1/2]

RestoreFight::RestoreFight ( Creature owner)
inline
108: _owner(owner) { }
Creature * _owner
Definition: boss_baltharus_the_warborn.cpp:118

◆ RestoreFight() [2/2]

RestoreFight::RestoreFight ( Creature owner)
inline
81: _owner(owner) { }

Member Function Documentation

◆ Execute() [1/2]

bool RestoreFight::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

111 {
114 return true;
115 }
@ REACT_AGGRESSIVE
Definition: Unit.h:550
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2806
void SetReactState(ReactStates state)
A creature can have 3 ReactStates : Agressive, Passive, Neutral.
Definition: Creature.h:97

References _owner, REACT_AGGRESSIVE, Creature::SetInCombatWithZone(), and Creature::SetReactState().

◆ Execute() [2/2]

bool RestoreFight::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Member Data Documentation

◆ _owner

Creature * RestoreFight::_owner
private

Referenced by Execute().