TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cs_npc.cpp File Reference
#include "ScriptMgr.h"
#include "ObjectMgr.h"
#include "Chat.h"
#include "Transport.h"
#include "CreatureGroups.h"
#include "Language.h"
#include "TargetedMovementGenerator.h"
#include "CreatureAI.h"
#include "Player.h"
#include "Pet.h"
+ Include dependency graph for cs_npc.cpp:

Classes

struct  EnumName< E, T >
 
class  npc_commandscript
 

Macros

#define CREATE_NAMED_ENUM(VALUE)   { VALUE, STRINGIZE(VALUE) }
 
#define NPCFLAG_COUNT   24
 
#define FLAGS_EXTRA_COUNT   19
 

Functions

void AddSC_npc_commandscript ()
 

Variables

EnumName< NPCFlags, int32 > const npcFlagTexts [NPCFLAG_COUNT]
 
EnumName< Mechanics > const mechanicImmunes [MAX_MECHANIC]
 
EnumName< UnitFlags > const unitFlags [MAX_UNIT_FLAGS]
 
EnumName< CreatureFlagsExtra >
const 
flagsExtra [FLAGS_EXTRA_COUNT]
 

Macro Definition Documentation

#define CREATE_NAMED_ENUM (   VALUE)    { VALUE, STRINGIZE(VALUE) }
#define FLAGS_EXTRA_COUNT   19
#define NPCFLAG_COUNT   24

Function Documentation

void AddSC_npc_commandscript ( )
1611 {
1612  new npc_commandscript();
1613 }
Definition: cs_npc.cpp:172

+ Here is the caller graph for this function:

Variable Documentation

Initial value:
=
{
}
#define CREATE_NAMED_ENUM(VALUE)
Definition: cs_npc.cpp:43
Definition: Creature.h:42
Definition: Creature.h:54
Definition: Creature.h:50
Definition: Creature.h:56
Definition: Creature.h:47
Definition: Creature.h:44
Definition: Creature.h:46
Definition: Creature.h:45
Definition: Creature.h:51
Definition: Creature.h:53
Definition: Creature.h:48
Definition: Creature.h:55
Definition: Creature.h:52
Definition: Creature.h:58
Definition: Creature.h:49
Definition: Creature.h:43
EnumName<Mechanics> const mechanicImmunes[MAX_MECHANIC]
Initial value:
=
{
}
Definition: Unit.h:735
Definition: Unit.h:743
Definition: Unit.h:759
Definition: Unit.h:758
Definition: Language.h:562
Definition: Unit.h:751
Definition: Language.h:798
Definition: Unit.h:742
Definition: Language.h:803
Definition: Unit.h:739
Definition: Language.h:807
Definition: Unit.h:757
Definition: Language.h:793
Definition: Language.h:791
Definition: Unit.h:741
Definition: Language.h:796
Definition: Language.h:794
Definition: Language.h:563
Definition: Language.h:800
Definition: Unit.h:760
Definition: Language.h:802
Definition: Unit.h:746
Definition: Unit.h:736
Definition: Unit.h:744
Definition: Unit.h:745
Definition: Language.h:797
Definition: Unit.h:740
Definition: Unit.h:749
Definition: Language.h:805
Definition: Unit.h:754
Definition: Language.h:810
Definition: Unit.h:753
Definition: Language.h:812
Definition: Unit.h:755
Definition: Unit.h:752
Definition: Language.h:806
Definition: Language.h:799
Definition: Language.h:792
Definition: Language.h:795
Definition: Language.h:790
Definition: Unit.h:747
Definition: Unit.h:750
Definition: Unit.h:756
Definition: Language.h:808
Definition: Language.h:801
Definition: Unit.h:748
Definition: Language.h:809
Definition: Language.h:804