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

Go to the source code of this file.

Macros

#define OSScriptName   "instance_obsidian_sanctum"
 
#define DataHeader   "OS"
 
#define RegisterObsidianSanctumCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetObsidianSanctumAI)
 

Enumerations

enum  OSDataTypes {
  DATA_SARTHARION = 0, DATA_TENEBRON = 1, DATA_SHADRON = 2, DATA_VESPERON = 3,
  DATA_PORTAL_OPEN = 4, TWILIGHT_ACHIEVEMENTS = 5
}
 
enum  OSCreaturesIds { NPC_SARTHARION = 28860, NPC_TENEBRON = 30452, NPC_SHADRON = 30451, NPC_VESPERON = 30449 }
 
enum  OSGameObjectIds { GO_TWILIGHT_PORTAL = 193988 }
 

Functions

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

Variables

uint32 const EncounterCount = 5
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "OS"

◆ OSScriptName

#define OSScriptName   "instance_obsidian_sanctum"

◆ RegisterObsidianSanctumCreatureAI

#define RegisterObsidianSanctumCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetObsidianSanctumAI)

Enumeration Type Documentation

◆ OSCreaturesIds

Enumerator
NPC_SARTHARION 
NPC_TENEBRON 
NPC_SHADRON 
NPC_VESPERON 
39 {
40  NPC_SARTHARION = 28860,
41  NPC_TENEBRON = 30452,
42  NPC_SHADRON = 30451,
43  NPC_VESPERON = 30449
44 };
Definition: obsidian_sanctum.h:43
Definition: obsidian_sanctum.h:41
Definition: obsidian_sanctum.h:42
Definition: obsidian_sanctum.h:40

◆ OSDataTypes

Enumerator
DATA_SARTHARION 
DATA_TENEBRON 
DATA_SHADRON 
DATA_VESPERON 
DATA_PORTAL_OPEN 
TWILIGHT_ACHIEVEMENTS 
29 {
30  DATA_SARTHARION = 0,
31  DATA_TENEBRON = 1,
32  DATA_SHADRON = 2,
33  DATA_VESPERON = 3,
34  DATA_PORTAL_OPEN = 4,
36 };
Definition: obsidian_sanctum.h:30
Definition: obsidian_sanctum.h:34
Definition: obsidian_sanctum.h:31
Definition: obsidian_sanctum.h:35
Definition: obsidian_sanctum.h:33
Definition: obsidian_sanctum.h:32

◆ OSGameObjectIds

Enumerator
GO_TWILIGHT_PORTAL 
47 {
48  GO_TWILIGHT_PORTAL = 193988
49 };
Definition: obsidian_sanctum.h:48

Function Documentation

◆ GetObsidianSanctumAI()

template<class AI , class T >
AI* GetObsidianSanctumAI ( T *  obj)
inline
53 {
54  return GetInstanceAI<AI>(obj, OSScriptName);
55 }
#define OSScriptName
Definition: obsidian_sanctum.h:23

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 5