AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GlobalScript.h File Reference
#include "DatabaseEnvFwd.h"
#include "DBCEnums.h"
#include "ObjectGuid.h"
#include "ScriptObject.h"
#include <map>
#include <vector>

Go to the source code of this file.

Classes

class  GlobalScript
 

Enumerations

enum  GlobalHook {
  GLOBALHOOK_ON_ITEM_DEL_FROM_DB ,
  GLOBALHOOK_ON_MIRRORIMAGE_DISPLAY_ITEM ,
  GLOBALHOOK_ON_AFTER_REF_COUNT ,
  GLOBALHOOK_ON_AFTER_CALCULATE_LOOT_GROUP_AMOUNT ,
  GLOBALHOOK_ON_BEFORE_DROP_ADD_ITEM ,
  GLOBALHOOK_ON_ITEM_ROLL ,
  GLOBALHOOK_ON_BEFORE_LOOT_EQUAL_CHANCED ,
  GLOBALHOOK_ON_INITIALIZE_LOCKED_DUNGEONS ,
  GLOBALHOOK_ON_AFTER_INITIALIZE_LOCKED_DUNGEONS ,
  GLOBALHOOK_ON_BEFORE_UPDATE_ARENA_POINTS ,
  GLOBALHOOK_ON_AFTER_UPDATE_ENCOUNTER_STATE ,
  GLOBALHOOK_ON_BEFORE_WORLDOBJECT_SET_PHASEMASK ,
  GLOBALHOOK_ON_IS_AFFECTED_BY_SPELL_MOD_CHECK ,
  GLOBALHOOK_ON_SPELL_HEALING_BONUS_TAKEN_NEGATIVE_MODIFIERS ,
  GLOBALHOOK_ON_LOAD_SPELL_CUSTOM_ATTR ,
  GLOBALHOOK_ON_ALLOWED_FOR_PLAYER_LOOT_CHECK ,
  GLOBALHOOK_ON_ALLOWED_TO_LOOT_CONTAINER_CHECK ,
  GLOBALHOOK_ON_INSTANCEID_REMOVED ,
  GLOBALHOOK_ON_BEFORE_SET_BOSS_STATE ,
  GLOBALHOOK_AFTER_INSTANCE_GAME_OBJECT_CREATE ,
  GLOBALHOOK_END
}
 

Enumeration Type Documentation

◆ GlobalHook

enum GlobalHook
Enumerator
GLOBALHOOK_ON_ITEM_DEL_FROM_DB 
GLOBALHOOK_ON_MIRRORIMAGE_DISPLAY_ITEM 
GLOBALHOOK_ON_AFTER_REF_COUNT 
GLOBALHOOK_ON_AFTER_CALCULATE_LOOT_GROUP_AMOUNT 
GLOBALHOOK_ON_BEFORE_DROP_ADD_ITEM 
GLOBALHOOK_ON_ITEM_ROLL 
GLOBALHOOK_ON_BEFORE_LOOT_EQUAL_CHANCED 
GLOBALHOOK_ON_INITIALIZE_LOCKED_DUNGEONS 
GLOBALHOOK_ON_AFTER_INITIALIZE_LOCKED_DUNGEONS 
GLOBALHOOK_ON_BEFORE_UPDATE_ARENA_POINTS 
GLOBALHOOK_ON_AFTER_UPDATE_ENCOUNTER_STATE 
GLOBALHOOK_ON_BEFORE_WORLDOBJECT_SET_PHASEMASK 
GLOBALHOOK_ON_IS_AFFECTED_BY_SPELL_MOD_CHECK 
GLOBALHOOK_ON_SPELL_HEALING_BONUS_TAKEN_NEGATIVE_MODIFIERS 
GLOBALHOOK_ON_LOAD_SPELL_CUSTOM_ATTR 
GLOBALHOOK_ON_ALLOWED_FOR_PLAYER_LOOT_CHECK 
GLOBALHOOK_ON_ALLOWED_TO_LOOT_CONTAINER_CHECK 
GLOBALHOOK_ON_INSTANCEID_REMOVED 
GLOBALHOOK_ON_BEFORE_SET_BOSS_STATE 
GLOBALHOOK_AFTER_INSTANCE_GAME_OBJECT_CREATE 
GLOBALHOOK_END 
29{
51};
@ GLOBALHOOK_ON_BEFORE_DROP_ADD_ITEM
Definition: GlobalScript.h:34
@ GLOBALHOOK_ON_ITEM_ROLL
Definition: GlobalScript.h:35
@ GLOBALHOOK_ON_SPELL_HEALING_BONUS_TAKEN_NEGATIVE_MODIFIERS
Definition: GlobalScript.h:43
@ GLOBALHOOK_ON_ITEM_DEL_FROM_DB
Definition: GlobalScript.h:30
@ GLOBALHOOK_ON_BEFORE_WORLDOBJECT_SET_PHASEMASK
Definition: GlobalScript.h:41
@ GLOBALHOOK_ON_IS_AFFECTED_BY_SPELL_MOD_CHECK
Definition: GlobalScript.h:42
@ GLOBALHOOK_ON_ALLOWED_TO_LOOT_CONTAINER_CHECK
Definition: GlobalScript.h:46
@ GLOBALHOOK_ON_AFTER_INITIALIZE_LOCKED_DUNGEONS
Definition: GlobalScript.h:38
@ GLOBALHOOK_ON_LOAD_SPELL_CUSTOM_ATTR
Definition: GlobalScript.h:44
@ GLOBALHOOK_ON_MIRRORIMAGE_DISPLAY_ITEM
Definition: GlobalScript.h:31
@ GLOBALHOOK_ON_BEFORE_UPDATE_ARENA_POINTS
Definition: GlobalScript.h:39
@ GLOBALHOOK_ON_BEFORE_SET_BOSS_STATE
Definition: GlobalScript.h:48
@ GLOBALHOOK_ON_ALLOWED_FOR_PLAYER_LOOT_CHECK
Definition: GlobalScript.h:45
@ GLOBALHOOK_END
Definition: GlobalScript.h:50
@ GLOBALHOOK_ON_AFTER_CALCULATE_LOOT_GROUP_AMOUNT
Definition: GlobalScript.h:33
@ GLOBALHOOK_ON_BEFORE_LOOT_EQUAL_CHANCED
Definition: GlobalScript.h:36
@ GLOBALHOOK_ON_INSTANCEID_REMOVED
Definition: GlobalScript.h:47
@ GLOBALHOOK_ON_AFTER_UPDATE_ENCOUNTER_STATE
Definition: GlobalScript.h:40
@ GLOBALHOOK_ON_AFTER_REF_COUNT
Definition: GlobalScript.h:32
@ GLOBALHOOK_AFTER_INSTANCE_GAME_OBJECT_CREATE
Definition: GlobalScript.h:49
@ GLOBALHOOK_ON_INITIALIZE_LOCKED_DUNGEONS
Definition: GlobalScript.h:37