API GetPetActionInfo

__NOTOC__
Returns info for an action on the pet action bar.
 name, texture, isToken, isActive, autoCastAllowed, autoCastEnabled, spellID, checksRange, inRange = GetPetActionInfo(index)
==Parameters==
===Arguments===
:;index: - The index of the pet action button you want to query.
===Returns===
:;name: - The name of the action (or its global ID if isToken is true).
:;texture: - The name (or its global ID, if isToken is true) of the texture for the action.
:;isToken: - Indicates if the action is a reference to a global action, or not (guess)
:;isActive: - Returns true if the ability is currently active.
:;autoCastAllowed: - Returns true if this ability can use autocast.
:;autoCastEnabled: - Returns true if autocast is currently enabled for this ability.
;;spellID: - Returns the spell ID associated with this ability.
:;checksRange: - Returns true if this ability has a numeric range requirement.
:;inRange: - Returns true if this ability is currently in range.
==Details==
Information based on a post from Sarf plus some guesswork, so may not be 100% accurate