![]() |
TrinityCore
|
#include "ScriptMgr.h"#include "Chat.h"#include "ChatCommand.h"#include "Language.h"#include "Map.h"#include "Pet.h"#include "Player.h"#include "RBAC.h"#include "SpellInfo.h"#include "SpellMgr.h"#include "WorldSession.h"
Include dependency graph for cs_pet.cpp:Go to the source code of this file.
Classes | |
| class | pet_commandscript |
Functions | |
| Pet * | GetSelectedPlayerPetOrOwn (ChatHandler *handler) |
| void | AddSC_pet_commandscript () |
| void AddSC_pet_commandscript | ( | ) |
Definition at line 209 of file cs_pet.cpp.
Referenced by AddCommandsScripts().
|
inline |
Definition at line 32 of file cs_pet.cpp.
References Player::GetPet(), WorldSession::GetPlayer(), ChatHandler::getSelectedUnit(), ChatHandler::GetSession(), Unit::ToPet(), Object::ToPlayer(), and TYPEID_PLAYER.
Referenced by pet_commandscript::HandlePetLearnCommand(), pet_commandscript::HandlePetLevelCommand(), and pet_commandscript::HandlePetUnlearnCommand().