#include <BattlePetMgr.h>
|
| | BattlePetMgr (WorldSession *owner) |
| |
| | BattlePetMgr (BattlePetMgr const &right)=delete |
| |
| | BattlePetMgr (BattlePetMgr &&right)=delete |
| |
| void | LoadFromDB (PreparedQueryResult pets, PreparedQueryResult slots) |
| |
| void | SaveToDB (LoginDatabaseTransaction trans) |
| |
| BattlePet * | GetPet (ObjectGuid guid) |
| |
| void | AddPet (uint32 species, uint32 display, uint16 breed, BattlePetBreedQuality quality, uint16 level=1) |
| |
| void | RemovePet (ObjectGuid guid) |
| |
| void | ClearFanfare (ObjectGuid guid) |
| |
| void | ModifyName (ObjectGuid guid, std::string const &name, std::unique_ptr< DeclinedName > declinedName) |
| |
| bool | IsPetInSlot (ObjectGuid guid) const |
| |
| uint8 | GetPetCount (BattlePetSpeciesEntry const *battlePetSpecies, ObjectGuid ownerGuid) const |
| |
| bool | HasMaxPetCount (BattlePetSpeciesEntry const *battlePetSpecies, ObjectGuid ownerGuid) const |
| |
| uint32 | GetPetUniqueSpeciesCount () const |
| |
| WorldPackets::BattlePet::BattlePetSlot * | GetSlot (BattlePetSlot slot) |
| |
| void | UnlockSlot (BattlePetSlot slot) |
| |
| WorldSession * | GetOwner () const |
| |
| uint16 | GetTrapLevel () const |
| |
| uint16 | GetMaxPetLevel () const |
| |
| std::vector< WorldPackets::BattlePet::BattlePetSlot > const & | GetSlots () const |
| |
| void | CageBattlePet (ObjectGuid guid) |
| |
| void | ChangeBattlePetQuality (ObjectGuid guid, BattlePetBreedQuality quality) |
| |
| void | GrantBattlePetExperience (ObjectGuid guid, uint16 xp, BattlePetXpSource xpSource) |
| |
| void | GrantBattlePetLevel (ObjectGuid guid, uint16 grantedLevels) |
| |
| void | HealBattlePetsPct (uint8 pct) |
| |
| void | UpdateBattlePetData (ObjectGuid guid) |
| |
| void | SummonPet (ObjectGuid guid) |
| |
| void | DismissPet () |
| |
| void | SendJournal () |
| |
| void | SendUpdates (std::span< std::reference_wrapper< BattlePet const > const > pets, bool petAdded) |
| |
| void | SendError (BattlePetError error, uint32 creatureId) |
| |
| void | SendJournalLockStatus () |
| |
| bool | IsJournalLockAcquired () const |
| |
| bool | HasJournalLock () const |
| |
| void | ToggleJournalLock (bool lock) |
| |
| bool | IsBattlePetSystemEnabled () |
| |
Definition at line 146 of file BattlePetMgr.h.
◆ BattlePetMgr() [1/3]
| BattlePets::BattlePetMgr::BattlePetMgr |
( |
WorldSession * |
owner | ) |
|
|
explicit |
◆ BattlePetMgr() [2/3]
| BattlePets::BattlePetMgr::BattlePetMgr |
( |
BattlePetMgr const & |
right | ) |
|
|
delete |
◆ BattlePetMgr() [3/3]
| BattlePets::BattlePetMgr::BattlePetMgr |
( |
BattlePetMgr && |
right | ) |
|
|
delete |
◆ AddBattlePetSpeciesBySpell()
◆ AddPet()
◆ CageBattlePet()
| void BattlePets::BattlePetMgr::CageBattlePet |
( |
ObjectGuid |
guid | ) |
|
◆ ChangeBattlePetQuality()
◆ ClearFanfare()
| void BattlePets::BattlePetMgr::ClearFanfare |
( |
ObjectGuid |
guid | ) |
|
◆ DismissPet()
| void BattlePets::BattlePetMgr::DismissPet |
( |
| ) |
|
◆ GetBattlePetSpeciesByCreature()
◆ GetBattlePetSpeciesBySpell()
◆ GetDefaultPetQuality()
◆ GetMaxPetLevel()
| uint16 BattlePets::BattlePetMgr::GetMaxPetLevel |
( |
| ) |
const |
◆ GetOwner()
◆ GetPet()
◆ GetPetCount()
◆ GetPetUniqueSpeciesCount()
| uint32 BattlePets::BattlePetMgr::GetPetUniqueSpeciesCount |
( |
| ) |
const |
◆ GetSlot()
◆ GetSlots()
◆ GetTrapLevel()
| uint16 BattlePets::BattlePetMgr::GetTrapLevel |
( |
| ) |
const |
|
inline |
◆ GrantBattlePetExperience()
◆ GrantBattlePetLevel()
| void BattlePets::BattlePetMgr::GrantBattlePetLevel |
( |
ObjectGuid |
guid, |
|
|
uint16 |
grantedLevels |
|
) |
| |
◆ HasJournalLock()
| bool BattlePets::BattlePetMgr::HasJournalLock |
( |
| ) |
const |
|
inline |
◆ HasMaxPetCount()
◆ HealBattlePetsPct()
| void BattlePets::BattlePetMgr::HealBattlePetsPct |
( |
uint8 |
pct | ) |
|
◆ Initialize()
| void BattlePets::BattlePetMgr::Initialize |
( |
| ) |
|
|
static |
◆ IsBattlePetSystemEnabled()
| bool BattlePets::BattlePetMgr::IsBattlePetSystemEnabled |
( |
| ) |
|
|
inline |
◆ IsJournalLockAcquired()
| bool BattlePets::BattlePetMgr::IsJournalLockAcquired |
( |
| ) |
const |
◆ IsPetInSlot()
| bool BattlePets::BattlePetMgr::IsPetInSlot |
( |
ObjectGuid |
guid | ) |
const |
◆ LoadAvailablePetBreeds()
| void BattlePets::BattlePetMgr::LoadAvailablePetBreeds |
( |
| ) |
|
|
staticprivate |
◆ LoadDefaultPetQualities()
| void BattlePets::BattlePetMgr::LoadDefaultPetQualities |
( |
| ) |
|
|
staticprivate |
◆ LoadFromDB()
◆ ModifyName()
| void BattlePets::BattlePetMgr::ModifyName |
( |
ObjectGuid |
guid, |
|
|
std::string const & |
name, |
|
|
std::unique_ptr< DeclinedName > |
declinedName |
|
) |
| |
◆ RemovePet()
| void BattlePets::BattlePetMgr::RemovePet |
( |
ObjectGuid |
guid | ) |
|
◆ RollPetBreed()
| uint16 BattlePets::BattlePetMgr::RollPetBreed |
( |
uint32 |
species | ) |
|
|
static |
◆ SaveToDB()
◆ SelectPetDisplay()
◆ SendError()
◆ SendJournal()
| void BattlePets::BattlePetMgr::SendJournal |
( |
| ) |
|
◆ SendJournalLockStatus()
| void BattlePets::BattlePetMgr::SendJournalLockStatus |
( |
| ) |
|
◆ SendUpdates()
| void BattlePets::BattlePetMgr::SendUpdates |
( |
std::span< std::reference_wrapper< BattlePet const > const > |
pets, |
|
|
bool |
petAdded |
|
) |
| |
◆ SummonPet()
| void BattlePets::BattlePetMgr::SummonPet |
( |
ObjectGuid |
guid | ) |
|
◆ ToggleJournalLock()
| void BattlePets::BattlePetMgr::ToggleJournalLock |
( |
bool |
lock | ) |
|
|
inline |
◆ UnlockSlot()
◆ UpdateBattlePetData()
| void BattlePets::BattlePetMgr::UpdateBattlePetData |
( |
ObjectGuid |
guid | ) |
|
◆ _hasJournalLock
| bool BattlePets::BattlePetMgr::_hasJournalLock = false |
|
private |
◆ _owner
◆ _pets
◆ _slots
◆ _trapLevel
| uint16 BattlePets::BattlePetMgr::_trapLevel = 0 |
|
private |
The documentation for this class was generated from the following files: