|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| battlepet_commandscript () | |
| std::vector< ChatCommand > | GetCommands () const OVERRIDE |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
| virtual bool | IsDatabaseBound () const |
Static Public Member Functions | |
| static bool | HandleBattlePetDebugCommand (ChatHandler *handler, char const *args) |
| static bool | HandleBattlePetHealCommand (ChatHandler *handler, char const *args) |
| static bool | HandleBattlePetLevelupCommand (ChatHandler *handler, char const *args) |
Additional Inherited Members | |
| Protected Member Functions inherited from CommandScript | |
| CommandScript (const char *name) | |
| Protected Member Functions inherited from ScriptObject | |
| ScriptObject (const char *name) | |
| virtual | ~ScriptObject () |
Definition at line 131 of file cs_battlepet.cpp.
|
inline |
Definition at line 134 of file cs_battlepet.cpp.
References CommandScript::CommandScript().
|
inlinevirtual |
Implements CommandScript.
Definition at line 136 of file cs_battlepet.cpp.
References HandleBattlePetDebugCommand(), HandleBattlePetHealCommand(), HandleBattlePetLevelupCommand(), OVERRIDE, rbac::RBAC_PERM_COMMAND_BATTLEPET, rbac::RBAC_PERM_COMMAND_BATTLEPET_DEBUG, rbac::RBAC_PERM_COMMAND_BATTLEPET_HEAL, and rbac::RBAC_PERM_COMMAND_BATTLEPET_LEVELUP.
|
inlinestatic |
Definition at line 211 of file cs_battlepet.cpp.
References ActivePetBattle::AllyPetID, BATTLE_PET_MAX_LOADOUT_SLOTS, BattlePetAchievementSourceName(), BattlePetExperienceReward(), BattlePetMgr::BuildActivePetBattleAchievementContext(), ActivePetBattle::Captured, ActivePetBattle::EnemyHealth, ActivePetBattle::EnemyLevel, ActivePetBattle::EnemyMaxHealth, ActivePetBattle::EnemyQuality, ActivePetBattle::EnemySpecies, ActivePetBattle::GetAchievementSource(), BattlePetMgr::GetActivePetBattle(), BattlePetMgr::GetBattlePet(), BattlePetMgr::GetBattlePetCount(), Player::GetBattlePetMgr(), BattlePet::GetCurrentHealth(), BattlePetMgr::GetCurrentSummonId(), BattlePet::GetLevel(), BattlePetMgr::GetLoadoutFlags(), BattlePetMgr::GetLoadoutSlot(), BattlePet::GetMaxHealth(), WorldObject::GetName(), BattlePetMgr::GetTrapAbility(), BattlePetMgr::HasActivePetBattle(), BattlePetMgr::HasLoadoutSlot(), BattlePetMgr::IsPetBattlePvpQueued(), BattlePetAchievementContext::Payload(), PET_BATTLE_WINNER_ALLY, ChatHandler::PSendSysMessage(), ActivePetBattle::RoundID, UI64FMTD, and ActivePetBattle::Winner.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 182 of file cs_battlepet.cpp.
References Player::GetBattlePetMgr(), BattlePet::GetMaxHealth(), WorldObject::GetName(), BattlePetMgr::HealBattlePets(), ChatHandler::PSendSysMessage(), BattlePetMgr::SaveToDb(), BattlePetMgr::SendBattlePetUpdate(), and BattlePet::SetCurrentHealth().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 152 of file cs_battlepet.cpp.
References BATTLE_PET_MAX_LEVEL, Player::GetBattlePetMgr(), BattlePet::GetLevel(), WorldObject::GetName(), ChatHandler::PSendSysMessage(), BattlePetMgr::SaveToDb(), BattlePetMgr::SendBattlePetUpdate(), BattlePet::SetLevel(), BattlePet::SetXp(), and BattlePetMgr::UpdateBattlePetLevelAchievement().
Referenced by GetCommands().