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

Go to the source code of this file.

Macros

#define NexusScriptName   "instance_nexus"
 
#define DataHeader   "NEX"
 
#define RegisterNexusCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetNexusAI)
 
#define RegisterNexusGameObjectAI(ai_name)   RegisterGameObjectAIWithFactory(ai_name, GetNexusAI)
 

Enumerations

enum  NEXDataTypes {
  DATA_COMMANDER = 0 , DATA_MAGUS_TELESTRA = 1 , DATA_ANOMALUS = 2 , DATA_ORMOROK = 3 ,
  DATA_KERISTRASZA = 4 , ANOMALUS_CONTAINMENT_SPHERE = 5 , ORMOROKS_CONTAINMENT_SPHERE = 6 , TELESTRAS_CONTAINMENT_SPHERE = 7
}
 
enum  NEXCreatureIds {
  NPC_ANOMALUS = 26763 , NPC_KERISTRASZA = 26723 , NPC_ALLIANCE_BERSERKER = 26800 , NPC_ALLIANCE_RANGER = 26802 ,
  NPC_ALLIANCE_CLERIC = 26805 , NPC_ALLIANCE_COMMANDER = 27949 , NPC_COMMANDER_STOUTBEARD = 26796 , NPC_HORDE_BERSERKER = 26799 ,
  NPC_HORDE_RANGER = 26801 , NPC_HORDE_CLERIC = 26803 , NPC_HORDE_COMMANDER = 27947 , NPC_COMMANDER_KOLURG = 26798
}
 
enum  NEXGameObjectIds { GO_ANOMALUS_CONTAINMENT_SPHERE = 188527 , GO_ORMOROKS_CONTAINMENT_SPHERE = 188528 , GO_TELESTRAS_CONTAINMENT_SPHERE = 188526 }
 

Functions

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

Variables

uint32 const EncounterCount = 5
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "NEX"

Definition at line 24 of file nexus.h.

◆ NexusScriptName

#define NexusScriptName   "instance_nexus"

Definition at line 23 of file nexus.h.

◆ RegisterNexusCreatureAI

#define RegisterNexusCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetNexusAI)

Definition at line 74 of file nexus.h.

◆ RegisterNexusGameObjectAI

#define RegisterNexusGameObjectAI (   ai_name)    RegisterGameObjectAIWithFactory(ai_name, GetNexusAI)

Definition at line 75 of file nexus.h.

Enumeration Type Documentation

◆ NEXCreatureIds

Enumerator
NPC_ANOMALUS 
NPC_KERISTRASZA 
NPC_ALLIANCE_BERSERKER 
NPC_ALLIANCE_RANGER 
NPC_ALLIANCE_CLERIC 
NPC_ALLIANCE_COMMANDER 
NPC_COMMANDER_STOUTBEARD 
NPC_HORDE_BERSERKER 
NPC_HORDE_RANGER 
NPC_HORDE_CLERIC 
NPC_HORDE_COMMANDER 
NPC_COMMANDER_KOLURG 

Definition at line 41 of file nexus.h.

◆ NEXDataTypes

Enumerator
DATA_COMMANDER 
DATA_MAGUS_TELESTRA 
DATA_ANOMALUS 
DATA_ORMOROK 
DATA_KERISTRASZA 
ANOMALUS_CONTAINMENT_SPHERE 
ORMOROKS_CONTAINMENT_SPHERE 
TELESTRAS_CONTAINMENT_SPHERE 

Definition at line 28 of file nexus.h.

◆ NEXGameObjectIds

Enumerator
GO_ANOMALUS_CONTAINMENT_SPHERE 
GO_ORMOROKS_CONTAINMENT_SPHERE 
GO_TELESTRAS_CONTAINMENT_SPHERE 

Definition at line 61 of file nexus.h.

Function Documentation

◆ GetNexusAI()

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

Definition at line 69 of file nexus.h.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 5

Definition at line 26 of file nexus.h.