Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
cs_npc.cpp File Reference
#include "Chat.h"
#include "CreatureAI.h"
#include "CreatureGroups.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "TargetedMovementGenerator.h"
#include "Transport.h"
Include dependency graph for cs_npc.cpp:

Go to the source code of this file.

Classes

struct  EnumName< E, T >
class  npc_commandscript

Macros

#define CREATE_NAMED_ENUM(VALUE)
#define NPCFLAG_COUNT   29

Functions

void AddSC_npc_commandscript ()

Variables

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

Macro Definition Documentation

◆ CREATE_NAMED_ENUM

#define CREATE_NAMED_ENUM ( VALUE)
Value:
{ VALUE, STRINGIZE(VALUE) }
#define STRINGIZE(a)
Definition Common.h:115

Definition at line 31 of file cs_npc.cpp.

◆ NPCFLAG_COUNT

#define NPCFLAG_COUNT   29

Definition at line 33 of file cs_npc.cpp.

Referenced by npc_commandscript::HandleNpcInfoCommand().

Function Documentation

◆ AddSC_npc_commandscript()

void AddSC_npc_commandscript ( )

Definition at line 1680 of file cs_npc.cpp.

Referenced by AddCommandScripts().

Variable Documentation

◆ mechanicImmunes

EnumName<Mechanics> const mechanicImmunes[MAX_MECHANIC]

Definition at line 68 of file cs_npc.cpp.

Referenced by npc_commandscript::HandleNpcInfoCommand().

◆ npcFlagTexts

EnumName<NPCFlags, int32> const npcFlagTexts[NPCFLAG_COUNT]

Definition at line 35 of file cs_npc.cpp.

Referenced by npc_commandscript::HandleNpcInfoCommand().

◆ unitFlags

EnumName<UnitFlags> const unitFlags[MAX_UNIT_FLAGS]

Definition at line 105 of file cs_npc.cpp.

Referenced by npc_commandscript::HandleNpcInfoCommand().