AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
nexus.h File Reference
#include "CreatureAIImpl.h"

Go to the source code of this file.

Macros

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

Enumerations

enum  eTypes {
  DATA_MAGUS_TELESTRA_EVENT = 0 ,
  DATA_ANOMALUS_EVENT = 1 ,
  DATA_ORMOROK_EVENT = 2 ,
  DATA_KERISTRASZA_EVENT = 3 ,
  DATA_COMMANDER_EVENT = 4 ,
  DATA_TELESTRA_ORB = 5 ,
  DATA_ANOMALUS_ORB = 6 ,
  DATA_ORMOROK_ORB = 7 ,
  MAX_ENCOUNTERS = 8 ,
  DATA_IKISSDOOREVENT = 1 ,
  TYPE_ANZU_ENCOUNTER = 2
}
 
enum  Npcs {
  NPC_TM_GUARDSMAN = 18092 ,
  NPC_TM_PROTECTOR = 18093 ,
  NPC_TM_LOOKOUT = 18094 ,
  NPC_EPOCH_GUARDSMAN = 23175 ,
  NPC_EPOCH_PROTECTOR = 23179 ,
  NPC_EPOCH_LOOKOUT = 23177 ,
  NPC_INFINITE_DEFILER = 18171 ,
  NPC_INFINITE_SABOTEUR = 18172 ,
  NPC_INFINITE_SLAYER = 18170 ,
  NPC_WATCHER_NARJIL = 28729 ,
  NPC_WATCHER_GASHRA = 28730 ,
  NPC_WATCHER_SILTHIK = 28731 ,
  NPC_WARRIOR = 28732 ,
  NPC_SKIRMISHER = 28734 ,
  NPC_SHADOWCASTER = 28733 ,
  NPC_ALLIANCE_RANGER = 26802 ,
  NPC_ALLIANCE_BERSERKER = 26800 ,
  NPC_ALLIANCE_COMMANDER = 27949 ,
  NPC_ALLIANCE_CLERIC = 26805 ,
  NPC_HORDE_RANGER = 26801 ,
  NPC_HORDE_BERSERKER = 26799 ,
  NPC_HORDE_COMMANDER = 27947 ,
  NPC_HORDE_CLERIC = 26803 ,
  NPC_COMMANDER_STOUTBEARD = 26796 ,
  NPC_COMMANDER_KOLURG = 26798 ,
  GO_TELESTRA_SPHERE = 188526 ,
  GO_ANOMALUS_SPHERE = 188527 ,
  GO_ORMOROK_SPHERE = 188528 ,
  NPC_FRAYER = 19953 ,
  NPC_NETHER_DRAKE = 20903 ,
  NPC_IRONWING = 29154 ,
  NPC_DABIR = 19409 ,
  NPC_BRACK = 19401 ,
  NPC_IRENA = 23413 ,
  NPC_AYREN = 25059 ,
  NPC_DRAGONHAWK = 25236 ,
  NPC_VERONIA = 20162 ,
  NPC_DEESAK = 23415 ,
  NPC_AFRASASTRASZ = 27575 ,
  NPC_TARIOLSTRASZ = 26443 ,
  NPC_TORASTRASZA = 26949 ,
  NPC_CESSA = 23704 ,
  NPC_KIELAR = 17209
}
 

Functions

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

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "NEX"

◆ NexusScriptName

#define NexusScriptName   "instance_nexus"

◆ RegisterNexusCreatureAI

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

Enumeration Type Documentation

◆ eTypes

enum eTypes
Enumerator
DATA_MAGUS_TELESTRA_EVENT 
DATA_ANOMALUS_EVENT 
DATA_ORMOROK_EVENT 
DATA_KERISTRASZA_EVENT 
DATA_COMMANDER_EVENT 
DATA_TELESTRA_ORB 
DATA_ANOMALUS_ORB 
DATA_ORMOROK_ORB 
MAX_ENCOUNTERS 
DATA_IKISSDOOREVENT 
TYPE_ANZU_ENCOUNTER 
28{
38};
@ DATA_ORMOROK_ORB
Definition: nexus.h:36
@ DATA_MAGUS_TELESTRA_EVENT
Definition: nexus.h:29
@ DATA_ORMOROK_EVENT
Definition: nexus.h:31
@ DATA_TELESTRA_ORB
Definition: nexus.h:34
@ DATA_ANOMALUS_ORB
Definition: nexus.h:35
@ MAX_ENCOUNTERS
Definition: nexus.h:37
@ DATA_ANOMALUS_EVENT
Definition: nexus.h:30
@ DATA_KERISTRASZA_EVENT
Definition: nexus.h:32
@ DATA_COMMANDER_EVENT
Definition: nexus.h:33

◆ Npcs

enum Npcs
Enumerator
NPC_TM_GUARDSMAN 
NPC_TM_PROTECTOR 
NPC_TM_LOOKOUT 
NPC_EPOCH_GUARDSMAN 
NPC_EPOCH_PROTECTOR 
NPC_EPOCH_LOOKOUT 
NPC_INFINITE_DEFILER 
NPC_INFINITE_SABOTEUR 
NPC_INFINITE_SLAYER 
NPC_WATCHER_NARJIL 
NPC_WATCHER_GASHRA 
NPC_WATCHER_SILTHIK 
NPC_WARRIOR 
NPC_SKIRMISHER 
NPC_SHADOWCASTER 
NPC_ALLIANCE_RANGER 
NPC_ALLIANCE_BERSERKER 
NPC_ALLIANCE_COMMANDER 
NPC_ALLIANCE_CLERIC 
NPC_HORDE_RANGER 
NPC_HORDE_BERSERKER 
NPC_HORDE_COMMANDER 
NPC_HORDE_CLERIC 
NPC_COMMANDER_STOUTBEARD 
NPC_COMMANDER_KOLURG 
GO_TELESTRA_SPHERE 
GO_ANOMALUS_SPHERE 
GO_ORMOROK_SPHERE 
NPC_FRAYER 
NPC_NETHER_DRAKE 
NPC_IRONWING 
NPC_DABIR 
NPC_BRACK 
NPC_IRENA 
NPC_AYREN 
NPC_DRAGONHAWK 
NPC_VERONIA 
NPC_DEESAK 
NPC_AFRASASTRASZ 
NPC_TARIOLSTRASZ 
NPC_TORASTRASZA 
NPC_CESSA 
NPC_KIELAR 
41{
42 NPC_ALLIANCE_RANGER = 26802,
45 NPC_ALLIANCE_CLERIC = 26805,
46 NPC_HORDE_RANGER = 26801,
47 NPC_HORDE_BERSERKER = 26799,
48 NPC_HORDE_COMMANDER = 27947,
49 NPC_HORDE_CLERIC = 26803,
50
53
54 GO_TELESTRA_SPHERE = 188526,
55 GO_ANOMALUS_SPHERE = 188527,
56 GO_ORMOROK_SPHERE = 188528
57};
@ NPC_COMMANDER_KOLURG
Definition: nexus.h:52
@ GO_TELESTRA_SPHERE
Definition: nexus.h:54
@ NPC_HORDE_COMMANDER
Definition: nexus.h:48
@ NPC_ALLIANCE_COMMANDER
Definition: nexus.h:44
@ NPC_HORDE_RANGER
Definition: nexus.h:46
@ NPC_COMMANDER_STOUTBEARD
Definition: nexus.h:51
@ NPC_HORDE_CLERIC
Definition: nexus.h:49
@ GO_ANOMALUS_SPHERE
Definition: nexus.h:55
@ NPC_ALLIANCE_RANGER
Definition: nexus.h:42
@ NPC_HORDE_BERSERKER
Definition: nexus.h:47
@ NPC_ALLIANCE_BERSERKER
Definition: nexus.h:43
@ NPC_ALLIANCE_CLERIC
Definition: nexus.h:45
@ GO_ORMOROK_SPHERE
Definition: nexus.h:56

Function Documentation

◆ GetNexusAI()

template<class AI , class T >
AI * GetNexusAI ( T *  obj)
inline
61{
62 return GetInstanceAI<AI>(obj, NexusScriptName);
63}
#define NexusScriptName
Definition: nexus.h:25

References NexusScriptName.