Reply
 
Thread Tools Display Modes
Old 01-28-13, 03:14 PM   #1
Foxlit
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.
Foxlit is offline   Reply With Quote
Reply

Go BackWoWInterface » 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