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

Go to the source code of this file.

Macros

#define BotanicaScriptName   "instance_the_botanica"
 
#define DataHeader   "BC"
 
#define RegisterBotanicaCreatureAI(ai_name)   RegisterCreatureAIWithFactory(ai_name, GetBotanicaAI)
 

Enumerations

enum  BCDataTypes {
  DATA_COMMANDER_SARANNIS = 0 , DATA_HIGH_BOTANIST_FREYWINN = 1 , DATA_THORNGRIN_THE_TENDER = 2 , DATA_LAJ = 3 ,
  DATA_WARP_SPLINTER = 4
}
 
enum  BCCreatureIds {
  NPC_COMMANDER_SARANNIS = 17976 , NPC_HIGH_BOTANIST_FREYWINN = 17975 , NPC_THORNGRIN_THE_TENDER = 17978 , NPC_LAJ = 17980 ,
  NPC_WARP_SPLINTER = 17977
}
 

Functions

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

Variables

uint32 const EncounterCount = 5
 

Macro Definition Documentation

◆ BotanicaScriptName

#define BotanicaScriptName   "instance_the_botanica"

Definition at line 23 of file the_botanica.h.

◆ DataHeader

#define DataHeader   "BC"

Definition at line 24 of file the_botanica.h.

◆ RegisterBotanicaCreatureAI

#define RegisterBotanicaCreatureAI (   ai_name)    RegisterCreatureAIWithFactory(ai_name, GetBotanicaAI)

Definition at line 52 of file the_botanica.h.

Enumeration Type Documentation

◆ BCCreatureIds

Enumerator
NPC_COMMANDER_SARANNIS 
NPC_HIGH_BOTANIST_FREYWINN 
NPC_THORNGRIN_THE_TENDER 
NPC_LAJ 
NPC_WARP_SPLINTER 

Definition at line 37 of file the_botanica.h.

◆ BCDataTypes

Enumerator
DATA_COMMANDER_SARANNIS 
DATA_HIGH_BOTANIST_FREYWINN 
DATA_THORNGRIN_THE_TENDER 
DATA_LAJ 
DATA_WARP_SPLINTER 

Definition at line 28 of file the_botanica.h.

Function Documentation

◆ GetBotanicaAI()

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

Definition at line 47 of file the_botanica.h.

Variable Documentation

◆ EncounterCount

uint32 const EncounterCount = 5

Definition at line 26 of file the_botanica.h.