C_StableInfo
namespaceavailable in: camelotStatus in wowlua
17 functions: 0 implemented, 3 recorded, 14 guessed. 5 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
BuyStableSlot | Buys the next stable slot. · by wowlua() | guessed |
ClosePetStables | Closes the pet stable. · by wowlua() | guessed |
GetActivePetList | Returns the hunter's active pets. · by wowlua(): PetInfo[] | guessed |
GetAvailablePetSpecInfos | Returns the pet specializations available to the hunter's pets. · by wowlua(): PetSpecInfo[] | guessed |
GetNextStableSlotCost | Returns the cost of the next stable slot. · by wowlua(): number | recorded |
GetNumActivePets | Returns the number of active pets. · by wowlua(): number | guessed |
GetNumStablePets | Returns the number of pets in the stable. · by wowlua(): number | guessed |
GetNumStableSlots | Returns the number of stable slots. · by wowlua(): number | recorded |
GetStablePetFoodTypes | Returns the food types the pet in a stable slot eats. · by wowlua(index: number): string[] | guessed |
GetStablePetInfo | Returns information about the pet in a stable slot. · by wowlua(index: number): PetInfo? | recorded |
GetStabledPetList | Returns the pets in the stable. · by wowlua(): PetInfo[] | guessed |
IsAtStableMaster | Whether the player is interacting with a stable master. · by wowlua(): boolean | guessed |
IsBonusPetSlotAvailable | Whether the bonus active pet slot is available. · by wowlua(): boolean | guessed |
IsPetFavorite | Whether the pet in a stable slot is marked as a favorite. · by wowlua(slot: number): boolean | guessed |
PickupStablePet | Puts the pet in a stable slot on the cursor. · by wowlua(index: number) | guessed |
SetPetFavorite | Marks or unmarks the pet in a stable slot as a favorite. · by wowlua(slot: number, isFavorite: boolean) | guessed |
SetPetSlot | Moves a pet to another stable slot. · by wowlua(index: number, slot: number) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
PET_INFO_UPDATE | no payload | not implemented |
PET_STABLE_CLOSED | no payload | not implemented |
PET_STABLE_FAVORITES_UPDATED | no payload | not implemented |
PET_STABLE_SHOW | no payload | not implemented |
PET_STABLE_UPDATE | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PET_INFO_UPDATE").
Structures
PetInfo· slotID, icon, name, level, familyName, specialization, type, petAbilities, specAbilities, displayID, isFavorite, isExotic, uiModelSceneID, petNumber, creatureID, specID, loyaltyLevel, loyaltyName, happinessLevel, experience, experienceNeededPetSpecInfo· specID, specIndex, specializationName
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (StableInfo system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.