AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
UnitScript.h File Reference
#include "ScriptObject.h"
#include <vector>

Go to the source code of this file.

Classes

class  UnitScript
 

Enumerations

enum  UnitHook {
  UNITHOOK_ON_HEAL ,
  UNITHOOK_ON_DAMAGE ,
  UNITHOOK_MODIFY_PERIODIC_DAMAGE_AURAS_TICK ,
  UNITHOOK_MODIFY_MELEE_DAMAGE ,
  UNITHOOK_MODIFY_SPELL_DAMAGE_TAKEN ,
  UNITHOOK_MODIFY_HEAL_RECEIVED ,
  UNITHOOK_ON_BEFORE_ROLL_MELEE_OUTCOME_AGAINST ,
  UNITHOOK_ON_AURA_APPLY ,
  UNITHOOK_ON_AURA_REMOVE ,
  UNITHOOK_IF_NORMAL_REACTION ,
  UNITHOOK_IS_NEEDMOD_SPELL_DAMAGE_PERCENT ,
  UNITHOOK_IS_NEEDMOD_MELEE_DAMAGE_PERCENT ,
  UNITHOOK_IS_NEEDMOD_HEAL_PERCENT ,
  UNITHOOK_CAN_SET_PHASE_MASK ,
  UNITHOOK_IS_CUSTOM_BUILD_VALUES_UPDATE ,
  UNITHOOK_SHOULD_TRACK_VALUES_UPDATE_POS_BY_INDEX ,
  UNITHOOK_ON_PATCH_VALUES_UPDATE ,
  UNITHOOK_ON_UNIT_UPDATE ,
  UNITHOOK_ON_DISPLAYID_CHANGE ,
  UNITHOOK_ON_UNIT_ENTER_EVADE_MODE ,
  UNITHOOK_ON_UNIT_ENTER_COMBAT ,
  UNITHOOK_ON_UNIT_DEATH ,
  UNITHOOK_END
}
 

Enumeration Type Documentation

◆ UnitHook

enum UnitHook
Enumerator
UNITHOOK_ON_HEAL 
UNITHOOK_ON_DAMAGE 
UNITHOOK_MODIFY_PERIODIC_DAMAGE_AURAS_TICK 
UNITHOOK_MODIFY_MELEE_DAMAGE 
UNITHOOK_MODIFY_SPELL_DAMAGE_TAKEN 
UNITHOOK_MODIFY_HEAL_RECEIVED 
UNITHOOK_ON_BEFORE_ROLL_MELEE_OUTCOME_AGAINST 
UNITHOOK_ON_AURA_APPLY 
UNITHOOK_ON_AURA_REMOVE 
UNITHOOK_IF_NORMAL_REACTION 
UNITHOOK_IS_NEEDMOD_SPELL_DAMAGE_PERCENT 
UNITHOOK_IS_NEEDMOD_MELEE_DAMAGE_PERCENT 
UNITHOOK_IS_NEEDMOD_HEAL_PERCENT 
UNITHOOK_CAN_SET_PHASE_MASK 
UNITHOOK_IS_CUSTOM_BUILD_VALUES_UPDATE 
UNITHOOK_SHOULD_TRACK_VALUES_UPDATE_POS_BY_INDEX 
UNITHOOK_ON_PATCH_VALUES_UPDATE 
UNITHOOK_ON_UNIT_UPDATE 
UNITHOOK_ON_DISPLAYID_CHANGE 
UNITHOOK_ON_UNIT_ENTER_EVADE_MODE 
UNITHOOK_ON_UNIT_ENTER_COMBAT 
UNITHOOK_ON_UNIT_DEATH 
UNITHOOK_END 
25{
49};
@ UNITHOOK_MODIFY_PERIODIC_DAMAGE_AURAS_TICK
Definition: UnitScript.h:28
@ UNITHOOK_ON_UNIT_ENTER_COMBAT
Definition: UnitScript.h:46
@ UNITHOOK_CAN_SET_PHASE_MASK
Definition: UnitScript.h:39
@ UNITHOOK_ON_DISPLAYID_CHANGE
Definition: UnitScript.h:44
@ UNITHOOK_ON_UNIT_UPDATE
Definition: UnitScript.h:43
@ UNITHOOK_ON_UNIT_ENTER_EVADE_MODE
Definition: UnitScript.h:45
@ UNITHOOK_MODIFY_HEAL_RECEIVED
Definition: UnitScript.h:31
@ UNITHOOK_ON_PATCH_VALUES_UPDATE
Definition: UnitScript.h:42
@ UNITHOOK_ON_BEFORE_ROLL_MELEE_OUTCOME_AGAINST
Definition: UnitScript.h:32
@ UNITHOOK_ON_DAMAGE
Definition: UnitScript.h:27
@ UNITHOOK_MODIFY_MELEE_DAMAGE
Definition: UnitScript.h:29
@ UNITHOOK_MODIFY_SPELL_DAMAGE_TAKEN
Definition: UnitScript.h:30
@ UNITHOOK_ON_UNIT_DEATH
Definition: UnitScript.h:47
@ UNITHOOK_ON_AURA_REMOVE
Definition: UnitScript.h:34
@ UNITHOOK_SHOULD_TRACK_VALUES_UPDATE_POS_BY_INDEX
Definition: UnitScript.h:41
@ UNITHOOK_IS_CUSTOM_BUILD_VALUES_UPDATE
Definition: UnitScript.h:40
@ UNITHOOK_ON_AURA_APPLY
Definition: UnitScript.h:33
@ UNITHOOK_IF_NORMAL_REACTION
Definition: UnitScript.h:35
@ UNITHOOK_IS_NEEDMOD_MELEE_DAMAGE_PERCENT
Definition: UnitScript.h:37
@ UNITHOOK_IS_NEEDMOD_HEAL_PERCENT
Definition: UnitScript.h:38
@ UNITHOOK_END
Definition: UnitScript.h:48
@ UNITHOOK_ON_HEAL
Definition: UnitScript.h:26
@ UNITHOOK_IS_NEEDMOD_SPELL_DAMAGE_PERCENT
Definition: UnitScript.h:36