TrinityCore
cs_npc.cpp File Reference
#include "ScriptMgr.h"
#include "Chat.h"
#include "ChatCommand.h"
#include "CreatureAI.h"
#include "CreatureGroups.h"
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "FollowMovementGenerator.h"
#include "GameTime.h"
#include "Language.h"
#include "Loot.h"
#include "Map.h"
#include "MotionMaster.h"
#include "MovementDefines.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "PhasingHandler.h"
#include "Player.h"
#include "RBAC.h"
#include "SmartEnum.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "World.h"
#include "WorldSession.h"
+ Include dependency graph for cs_npc.cpp:

Go to the source code of this file.

Classes

class  npc_commandscript
 

Typedefs

using CreatureSpawnId = Variant< Hyperlink< creature >, ObjectGuid::LowType >
 
using CreatureEntry = Variant< Hyperlink< creature_entry >, uint32 >
 

Functions

bool HandleNpcSpawnGroup (ChatHandler *handler, std::vector< Variant< uint32, EXACT_SEQUENCE("force"), EXACT_SEQUENCE("ignorerespawn")> > const &opts)
 
bool HandleNpcDespawnGroup (ChatHandler *handler, std::vector< Variant< uint32, EXACT_SEQUENCE("removerespawntime")> > const &opts)
 
void AddSC_npc_commandscript ()
 

Typedef Documentation

◆ CreatureEntry

using CreatureEntry = Variant<Hyperlink<creature_entry>, uint32>

Definition at line 54 of file cs_npc.cpp.

◆ CreatureSpawnId

Definition at line 53 of file cs_npc.cpp.

Function Documentation

◆ AddSC_npc_commandscript()

void AddSC_npc_commandscript ( )

Definition at line 1363 of file cs_npc.cpp.

+ Here is the caller graph for this function:

◆ HandleNpcDespawnGroup()

bool HandleNpcDespawnGroup ( ChatHandler handler,
std::vector< Variant< uint32, EXACT_SEQUENCE("removerespawntime")> > const &  opts 
)

Definition at line 1409 of file cs_npc.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleNpcSpawnGroup()

bool HandleNpcSpawnGroup ( ChatHandler handler,
std::vector< Variant< uint32, EXACT_SEQUENCE("force"), EXACT_SEQUENCE("ignorerespawn")> > const &  opts 
)

Definition at line 1368 of file cs_npc.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: