v0.13.8

GetPetActionInfo

functionimplementedavailable in: camelot

Returns info for an action on the pet action bar.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
indexnumberThe index of the pet action button you want to query.

Returns

#nametypedescription
1namestringThe name of the action (or its global ID if isToken is true).
2texturestringThe name (or its global ID, if isToken is true) of the texture for the action.
3isTokenbooleanIndicates if the action is a reference to a global action, or not (guess)
4isActivebooleanReturns true if the ability is currently active.
5autoCastAllowedbooleanReturns true if this ability can use autocast.
6autoCastEnabledbooleanReturns true if autocast is currently enabled for this ability.
7spellIDnumberReturns the spell ID associated with this ability.
8checksRangebooleanReturns true if this ability has a numeric range requirement.
9inRangebooleanReturns true if this ability is currently in range.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.