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

Go to the source code of this file.

Macros

#define FoSScriptName   "instance_forge_of_souls"
 
#define DataHeader   "FOS"
 
#define RegisterForgeOfSoulsCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetForgeOfSoulsAI)
 

Enumerations

enum  FOSData { DATA_BRONJAHM = 0, DATA_DEVOURER_OF_SOULS = 1, DATA_TEAM_IN_INSTANCE = 2 }
 
enum  FOSCreatures {
  NPC_BRONJAHM = 36497, NPC_DEVOURER = 36502, NPC_CORRUPTED_SOUL_FRAGMENT = 36535, NPC_SYLVANAS_PART1 = 37596,
  NPC_SYLVANAS_PART2 = 38161, NPC_JAINA_PART1 = 37597, NPC_JAINA_PART2 = 38160, NPC_KALIRA = 37583,
  NPC_ELANDRA = 37774, NPC_LORALEN = 37779, NPC_KORELN = 37582, NPC_CHAMPION_1_HORDE = 37584,
  NPC_CHAMPION_2_HORDE = 37587, NPC_CHAMPION_3_HORDE = 37588, NPC_CHAMPION_1_ALLIANCE = 37496, NPC_CHAMPION_2_ALLIANCE = 37497,
  NPC_CRUCIBLE_OF_SOULS = 37094
}
 

Functions

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

Variables

uint32 const EncounterCount = 2
 

Macro Definition Documentation

◆ DataHeader

#define DataHeader   "FOS"

◆ FoSScriptName

#define FoSScriptName   "instance_forge_of_souls"

◆ RegisterForgeOfSoulsCreatureAI

#define RegisterForgeOfSoulsCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetForgeOfSoulsAI)

Enumeration Type Documentation

◆ FOSCreatures

Enumerator
NPC_BRONJAHM 
NPC_DEVOURER 
NPC_CORRUPTED_SOUL_FRAGMENT 
NPC_SYLVANAS_PART1 
NPC_SYLVANAS_PART2 
NPC_JAINA_PART1 
NPC_JAINA_PART2 
NPC_KALIRA 
NPC_ELANDRA 
NPC_LORALEN 
NPC_KORELN 
NPC_CHAMPION_1_HORDE 
NPC_CHAMPION_2_HORDE 
NPC_CHAMPION_3_HORDE 
NPC_CHAMPION_1_ALLIANCE 
NPC_CHAMPION_2_ALLIANCE 
NPC_CRUCIBLE_OF_SOULS 
39 {
40  NPC_BRONJAHM = 36497,
41  NPC_DEVOURER = 36502,
43 
44  NPC_SYLVANAS_PART1 = 37596,
45  NPC_SYLVANAS_PART2 = 38161,
46  NPC_JAINA_PART1 = 37597,
47  NPC_JAINA_PART2 = 38160,
48  NPC_KALIRA = 37583,
49  NPC_ELANDRA = 37774,
50  NPC_LORALEN = 37779,
51  NPC_KORELN = 37582,
52  NPC_CHAMPION_1_HORDE = 37584,
53  NPC_CHAMPION_2_HORDE = 37587,
54  NPC_CHAMPION_3_HORDE = 37588,
57  NPC_CRUCIBLE_OF_SOULS = 37094
58 };
Definition: forge_of_souls.h:48
Definition: forge_of_souls.h:41
Definition: forge_of_souls.h:51
Definition: forge_of_souls.h:56
Definition: forge_of_souls.h:57
Definition: forge_of_souls.h:50
Definition: forge_of_souls.h:47
Definition: forge_of_souls.h:49
Definition: forge_of_souls.h:42
Definition: forge_of_souls.h:46
Definition: forge_of_souls.h:52
Definition: forge_of_souls.h:55
Definition: forge_of_souls.h:54
Definition: forge_of_souls.h:53
Definition: forge_of_souls.h:45
Definition: forge_of_souls.h:40
Definition: forge_of_souls.h:44

◆ FOSData

enum FOSData
Enumerator
DATA_BRONJAHM 
DATA_DEVOURER_OF_SOULS 
DATA_TEAM_IN_INSTANCE 
29 {
30  // Encounter states and GUIDs
31  DATA_BRONJAHM = 0,
33 
34  // Additional Data
36 };
Definition: forge_of_souls.h:32
Definition: forge_of_souls.h:35
Definition: forge_of_souls.h:31

Function Documentation

◆ GetForgeOfSoulsAI()

template<class AI , class T >
AI* GetForgeOfSoulsAI ( T *  obj)
inline
62 {
63  return GetInstanceAI<AI>(obj, FoSScriptName);
64 }
#define FoSScriptName
Definition: forge_of_souls.h:23

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 2