Quantcast Add GetExtraBarIndex to the restricted environment - WoWInterface
Thread Tools Display Modes
01-28-13, 04:14 PM   #1
A Warpwood Thunder Caller
Foxlit's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 91
Add GetExtraBarIndex to the restricted environment

5.1 added a number API functions related to action bar remapping to the RestrictedEnvironment, including for example HasOverrideActionBar and GetOverrideBarIndex, HasTempShapeshiftActionBar and GetTempShapeshiftBarIndex.

Although HasExtraActionBar was also added in 5.1, the corresponding GetExtraBarIndex was not (so addons can determine if there's an extra action button, and might even iterate GetActionInfo to find out what it is, but aren't directly told its action slot ID); this seems like an oversight.
... and you do get used to it, after a while.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Add GetExtraBarIndex to the restricted environment

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off