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

Go to the source code of this file.

Macros

#define MechanarScriptName   "instance_mechanar"
 
#define DataHeader   "MR"
 
#define RegisterMechanarCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetMechanarAI)
 

Enumerations

enum  MRDataTypes {
  DATA_GATEWATCHER_GYROKILL = 0 , DATA_GATEWATCHER_IRON_HAND = 1 , DATA_MECHANOLORD_CAPACITUS = 2 , DATA_NETHERMANCER_SEPRETHREA = 3 ,
  DATA_PATHALEON_THE_CALCULATOR = 4
}
 
enum  MRGameobjectIds { GO_DOOR_MOARG_1 = 184632 , GO_DOOR_MOARG_2 = 184322 , GO_DOOR_NETHERMANCER = 184449 }
 

Functions

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

Variables

uint32 const EncounterCount = 5
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "MR"

Definition at line 24 of file mechanar.h.

◆ MechanarScriptName

#define MechanarScriptName   "instance_mechanar"

Definition at line 23 of file mechanar.h.

◆ RegisterMechanarCreatureAI

#define RegisterMechanarCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetMechanarAI)

Definition at line 50 of file mechanar.h.

Enumeration Type Documentation

◆ MRDataTypes

Enumerator
DATA_GATEWATCHER_GYROKILL 
DATA_GATEWATCHER_IRON_HAND 
DATA_MECHANOLORD_CAPACITUS 
DATA_NETHERMANCER_SEPRETHREA 
DATA_PATHALEON_THE_CALCULATOR 

Definition at line 28 of file mechanar.h.

◆ MRGameobjectIds

Enumerator
GO_DOOR_MOARG_1 
GO_DOOR_MOARG_2 
GO_DOOR_NETHERMANCER 

Definition at line 37 of file mechanar.h.

Function Documentation

◆ GetMechanarAI()

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

Definition at line 45 of file mechanar.h.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 5

Definition at line 26 of file mechanar.h.