v0.13.8

C_StableInfo

namespaceavailable in: camelot

Status in wowlua

17 functions: 0 implemented, 3 recorded, 14 guessed. 5 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
BuyStableSlotBuys the next stable slot. · by wowlua
()
guessed
ClosePetStablesCloses the pet stable. · by wowlua
()
guessed
GetActivePetListReturns the hunter's active pets. · by wowlua
(): PetInfo[]
guessed
GetAvailablePetSpecInfosReturns the pet specializations available to the hunter's pets. · by wowlua
(): PetSpecInfo[]
guessed
GetNextStableSlotCostReturns the cost of the next stable slot. · by wowlua
(): number
recorded
GetNumActivePetsReturns the number of active pets. · by wowlua
(): number
guessed
GetNumStablePetsReturns the number of pets in the stable. · by wowlua
(): number
guessed
GetNumStableSlotsReturns the number of stable slots. · by wowlua
(): number
recorded
GetStablePetFoodTypesReturns the food types the pet in a stable slot eats. · by wowlua
(index: number): string[]
guessed
GetStablePetInfoReturns information about the pet in a stable slot. · by wowlua
(index: number): PetInfo?
recorded
GetStabledPetListReturns the pets in the stable. · by wowlua
(): PetInfo[]
guessed
IsAtStableMasterWhether the player is interacting with a stable master. · by wowlua
(): boolean
guessed
IsBonusPetSlotAvailableWhether the bonus active pet slot is available. · by wowlua
(): boolean
guessed
IsPetFavoriteWhether the pet in a stable slot is marked as a favorite. · by wowlua
(slot: number): boolean
guessed
PickupStablePetPuts the pet in a stable slot on the cursor. · by wowlua
(index: number)
guessed
SetPetFavoriteMarks or unmarks the pet in a stable slot as a favorite. · by wowlua
(slot: number, isFavorite: boolean)
guessed
SetPetSlotMoves 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

eventpayloadfired by the emulator
PET_INFO_UPDATEno payloadnot implemented
PET_STABLE_CLOSEDno payloadnot implemented
PET_STABLE_FAVORITES_UPDATEDno payloadnot implemented
PET_STABLE_SHOWno payloadnot implemented
PET_STABLE_UPDATEno payloadnot 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, experienceNeeded
  • PetSpecInfo · 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.