~/forever/addon-api
Addon API
C_PetInfo.CanPetEatItem(itemID) : canEatC_PetInfo.GetPetFoodTypes() : foodTypesC_PetInfo.GetPetHappiness() : happiness, damagePercentage, loyaltyRateC_PetInfo.GetPetLoyalty() : loyaltyNameC_PetInfo.GetPetTalentTree() : talentTreeNameC_PetInfo.GetPetTamersForMap(uiMapID) : petTamersC_PetInfo.GetPetTrainingPoints() : totalPoints, usedPointsC_PetInfo.GetPetUIModelSceneID() : modelSceneIDC_PetInfo.GetSpellForPetAction(actionID) : spellIDC_PetInfo.IsPetActionPassive(actionID) : isPassiveC_PetInfo.IsPetOrderMoveToPending() : isPetOrderMoveToPendingC_PetInfo.PetAbandon(petNumber?)C_PetInfo.PetAssistMode()C_PetInfo.PetRename(name, petNumber?, declensions?)Documented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.