18#ifndef TRINITYCORE_PET_DEFINES_H
19#define TRINITYCORE_PET_DEFINES_H
36#define MAX_ACTIVE_PETS 5
37#define MAX_PET_STABLES 200
98#define PET_FOLLOW_DIST 1.0f
99#define PET_FOLLOW_ANGLE float(M_PI)
std::optional< T > Optional
Optional helper class to wrap optional values within.
constexpr bool IsStabledPetSlot(PetSaveMode slot)
constexpr bool IsActivePetSlot(PetSaveMode slot)
constexpr uint32 CALL_PET_SPELL_ID
constexpr uint32 PET_SUMMONING_DISORIENTATION
@ PET_SAVE_FIRST_STABLE_SLOT
@ PET_SAVE_LAST_STABLE_SLOT
@ PET_SAVE_LAST_ACTIVE_SLOT
@ PET_SAVE_FIRST_ACTIVE_SLOT
Optional< uint32 > GetCurrentActivePetIndex() const
std::array< Optional< PetInfo >, MAX_ACTIVE_PETS > ActivePets
void SetCurrentUnslottedPetIndex(uint32 index)
Optional< uint32 > GetCurrentUnslottedPetIndex() const
PetInfo const * GetCurrentPet() const
std::array< Optional< PetInfo >, MAX_PET_STABLES > StabledPets
std::vector< PetInfo > UnslottedPets
PetInfo * GetCurrentPet()
Optional< uint32 > CurrentPetIndex
void SetCurrentActivePetIndex(uint32 index)
static constexpr uint32 UnslottedPetIndexMask