WoWInterface

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

Foxlit 01-28-13 04: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:04 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI