TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
guards.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "GuardAI.h"
#include "Player.h"
#include "SpellInfo.h"
+ Include dependency graph for guards.cpp:

Classes

class  guard_generic
 
struct  guard_generic::guard_genericAI
 
class  guard_shattrath_scryer
 
struct  guard_shattrath_scryer::guard_shattrath_scryerAI
 
class  guard_shattrath_aldor
 
struct  guard_shattrath_aldor::guard_shattrath_aldorAI
 

Enumerations

enum  GuardGeneric {
  GENERIC_CREATURE_COOLDOWN = 5000, SAY_GUARD_SIL_AGGRO = 0, NPC_CENARION_HOLD_INFANTRY = 15184, NPC_STORMWIND_CITY_GUARD = 68,
  NPC_STORMWIND_CITY_PATROLLER = 1976, NPC_ORGRIMMAR_GRUNT = 3296
}
 
enum  GuardShattrath { SPELL_BANISHED_SHATTRATH_A = 36642, SPELL_BANISHED_SHATTRATH_S = 36671, SPELL_BANISH_TELEPORT = 36643, SPELL_EXILE = 39533 }
 

Functions

void AddSC_guards ()
 

Enumeration Type Documentation

Enumerator
GENERIC_CREATURE_COOLDOWN 
SAY_GUARD_SIL_AGGRO 
NPC_CENARION_HOLD_INFANTRY 
NPC_STORMWIND_CITY_GUARD 
NPC_STORMWIND_CITY_PATROLLER 
NPC_ORGRIMMAR_GRUNT 
39 {
41 
43 
47  NPC_ORGRIMMAR_GRUNT = 3296
48 };
Definition: guards.cpp:44
Definition: guards.cpp:40
Definition: guards.cpp:46
Definition: guards.cpp:45
Definition: guards.cpp:42
Definition: guards.cpp:47
Enumerator
SPELL_BANISHED_SHATTRATH_A 
SPELL_BANISHED_SHATTRATH_S 
SPELL_BANISH_TELEPORT 
SPELL_EXILE 
260 {
263  SPELL_BANISH_TELEPORT = 36643,
264  SPELL_EXILE = 39533
265 };
Definition: guards.cpp:261
Definition: guards.cpp:263
Definition: guards.cpp:264
Definition: guards.cpp:262

Function Documentation

void AddSC_guards ( )
413 {
414  new guard_generic();
415  new guard_shattrath_aldor();
417 }
Definition: guards.cpp:50
Definition: guards.cpp:340
Definition: guards.cpp:267

+ Here is the caller graph for this function: