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
| name | type | description |
|---|---|---|
index | number | The index of the pet action button you want to query. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | name | string | The name of the action (or its global ID if isToken is true). |
| 2 | texture | string | The name (or its global ID, if isToken is true) of the texture for the action. |
| 3 | isToken | boolean | Indicates if the action is a reference to a global action, or not (guess) |
| 4 | isActive | boolean | Returns true if the ability is currently active. |
| 5 | autoCastAllowed | boolean | Returns true if this ability can use autocast. |
| 6 | autoCastEnabled | boolean | Returns true if autocast is currently enabled for this ability. |
| 7 | spellID | number | Returns the spell ID associated with this ability. |
| 8 | checksRange | boolean | Returns true if this ability has a numeric range requirement. |
| 9 | inRange | boolean | Returns 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 ↗.