TrinityCore
Loading...
Searching...
No Matches
magtheridons_lair.h File Reference
#include "CreatureAIImpl.h"
+ Include dependency graph for magtheridons_lair.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MLScriptName   "instance_magtheridons_lair"
 
#define DataHeader   "ML"
 
#define RegisterMagtheridonsLairCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetMagtheridonsLairAI)
 

Enumerations

enum  MLDataTypes {
  DATA_MAGTHERIDON = 0 , DATA_WORLD_TRIGGER , DATA_MAGTHERIDON_HALL , DATA_MAGTHERIDON_COLUMN_0 ,
  DATA_MAGTHERIDON_COLUMN_1 , DATA_MAGTHERIDON_COLUMN_2 , DATA_MAGTHERIDON_COLUMN_3 , DATA_MAGTHERIDON_COLUMN_4 ,
  DATA_MAGTHERIDON_COLUMN_5 , DATA_MANTICRON_CUBE , DATA_COLLAPSE_1 , DATA_COLLAPSE_2 ,
  DATA_CALL_WARDERS
}
 
enum  MLActions { ACTION_ENABLE = 1 , ACTION_DISABLE = 2 }
 
enum  MLCreatureIds { NPC_MAGTHERIDON = 17257 , NPC_HELLFIRE_CHANNELLER = 17256 , NPC_WORLD_TRIGGER = 21252 , NPC_HELLFIRE_WARDER = 18829 }
 
enum  MLGameObjectIds {
  GO_MAGTHERIDON_DOOR = 183847 , GO_MANTICRON_CUBE = 181713 , GO_MAGTHERIDON_HALL = 184653 , GO_MAGTHERIDON_COLUMN_0 = 184638 ,
  GO_MAGTHERIDON_COLUMN_1 = 184639 , GO_MAGTHERIDON_COLUMN_2 = 184635 , GO_MAGTHERIDON_COLUMN_3 = 184634 , GO_MAGTHERIDON_COLUMN_4 = 184636 ,
  GO_MAGTHERIDON_COLUMN_5 = 184637
}
 

Functions

template<class AI , class T >
AI * GetMagtheridonsLairAI (T *obj)
 

Variables

uint32 constexpr EncounterCount = 1
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "ML"

Definition at line 24 of file magtheridons_lair.h.

◆ MLScriptName

#define MLScriptName   "instance_magtheridons_lair"

Definition at line 23 of file magtheridons_lair.h.

◆ RegisterMagtheridonsLairCreatureAI

#define RegisterMagtheridonsLairCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetMagtheridonsLairAI)

Definition at line 79 of file magtheridons_lair.h.

Enumeration Type Documentation

◆ MLActions

enum MLActions
Enumerator
ACTION_ENABLE 
ACTION_DISABLE 

Definition at line 46 of file magtheridons_lair.h.

◆ MLCreatureIds

Enumerator
NPC_MAGTHERIDON 
NPC_HELLFIRE_CHANNELLER 
NPC_WORLD_TRIGGER 
NPC_HELLFIRE_WARDER 

Definition at line 52 of file magtheridons_lair.h.

◆ MLDataTypes

Enumerator
DATA_MAGTHERIDON 
DATA_WORLD_TRIGGER 
DATA_MAGTHERIDON_HALL 
DATA_MAGTHERIDON_COLUMN_0 
DATA_MAGTHERIDON_COLUMN_1 
DATA_MAGTHERIDON_COLUMN_2 
DATA_MAGTHERIDON_COLUMN_3 
DATA_MAGTHERIDON_COLUMN_4 
DATA_MAGTHERIDON_COLUMN_5 
DATA_MANTICRON_CUBE 
DATA_COLLAPSE_1 
DATA_COLLAPSE_2 
DATA_CALL_WARDERS 

Definition at line 28 of file magtheridons_lair.h.

◆ MLGameObjectIds

Enumerator
GO_MAGTHERIDON_DOOR 
GO_MANTICRON_CUBE 
GO_MAGTHERIDON_HALL 
GO_MAGTHERIDON_COLUMN_0 
GO_MAGTHERIDON_COLUMN_1 
GO_MAGTHERIDON_COLUMN_2 
GO_MAGTHERIDON_COLUMN_3 
GO_MAGTHERIDON_COLUMN_4 
GO_MAGTHERIDON_COLUMN_5 

Definition at line 60 of file magtheridons_lair.h.

Function Documentation

◆ GetMagtheridonsLairAI()

template<class AI , class T >
AI * GetMagtheridonsLairAI ( T *  obj)
inline

Definition at line 74 of file magtheridons_lair.h.

References MLScriptName.

Variable Documentation

◆ EncounterCount

uint32 constexpr EncounterCount = 1
constexpr

Definition at line 26 of file magtheridons_lair.h.