WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   Wish List (http://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   Add GetExtraBarIndex to the restricted environment (http://www.wowinterface.com/forums/showthread.php?t=45750)

Foxlit 01-28-13 03:14 PM

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.


All times are GMT -6. The time now is 05:44 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC