![]() |
TrinityCore
|
#include "ScriptMgr.h"#include "Chat.h"#include "ChatCommand.h"#include "DatabaseEnv.h"#include "DB2Stores.h"#include "GameEventMgr.h"#include "GameObject.h"#include "GameObjectAI.h"#include "GameTime.h"#include "Language.h"#include "Log.h"#include "Map.h"#include "MapManager.h"#include "ObjectAccessor.h"#include "ObjectMgr.h"#include "PhasingHandler.h"#include "Player.h"#include "PoolMgr.h"#include "RBAC.h"#include "WorldSession.h"#include <sstream>
Include dependency graph for cs_gobject.cpp:Go to the source code of this file.
Classes | |
| class | gobject_commandscript |
Typedefs | |
| using | GameObjectSpawnId = Variant< Hyperlink< gameobject >, ObjectGuid::LowType > |
| using | GameObjectEntry = Variant< Hyperlink< gameobject_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_gobject_commandscript () |
| using GameObjectEntry = Variant<Hyperlink<gameobject_entry>, uint32> |
Definition at line 50 of file cs_gobject.cpp.
| using GameObjectSpawnId = Variant<Hyperlink<gameobject>, ObjectGuid::LowType> |
Definition at line 49 of file cs_gobject.cpp.
| void AddSC_gobject_commandscript | ( | ) |
Definition at line 633 of file cs_gobject.cpp.
Referenced by AddCommandsScripts().
| bool HandleNpcDespawnGroup | ( | ChatHandler * | handler, |
| std::vector< Variant< uint32, EXACT_SEQUENCE("removerespawntime")> > const & | opts | ||
| ) |
Definition at line 1505 of file cs_npc.cpp.
References WorldObject::GetMap(), WorldSession::GetPlayer(), ChatHandler::GetSession(), LANG_SPAWNGROUP_BADGROUP, ChatHandler::PSendSysMessage(), ChatHandler::SetSentErrorMessage(), and Map::SpawnGroupDespawn().
Referenced by gobject_commandscript::GetCommands(), and npc_commandscript::GetCommands().
| bool HandleNpcSpawnGroup | ( | ChatHandler * | handler, |
| std::vector< Variant< uint32, EXACT_SEQUENCE("force"), EXACT_SEQUENCE("ignorerespawn")> > const & | opts | ||
| ) |
Definition at line 1464 of file cs_npc.cpp.
References WorldObject::GetMap(), WorldSession::GetPlayer(), ChatHandler::GetSession(), LANG_SPAWNGROUP_BADGROUP, LANG_SPAWNGROUP_SPAWNCOUNT, ChatHandler::PSendSysMessage(), ChatHandler::SetSentErrorMessage(), and Map::SpawnGroupSpawn().
Referenced by gobject_commandscript::GetCommands(), and npc_commandscript::GetCommands().