World of Warcraft Forever API · C_GamepadUI.md, for your AI
C_GamepadUI
5 functions, 2 events, 3 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
activeStanceFirstGamepadStorageSlotIndex = C_GamepadUI.GetFirstGamepadActionBarStorageSlotIndexForActiveStance()
Returns
activeStanceFirstGamepadStorageSlotIndex | luaIndex may be nil | |
|---|
firstGamepadActionStorageSlotIndex = C_GamepadUI.GetFirstGamepadActionStorageSlotIndex()
Returns
firstGamepadActionStorageSlotIndex | luaIndex | |
|---|
firstGamepadPetActionStorageSlotID = C_GamepadUI.GetFirstGamepadPetActionStorageSlotIndex()
Returns
firstGamepadPetActionStorageSlotID | luaIndex | |
|---|
isValid = C_GamepadUI.IsValidGamepadActionStorageSlotIndex(gamepadActionStorageSlotIndex)
Arguments
gamepadActionStorageSlotIndex | luaIndex | |
|---|
Returns
isValid = C_GamepadUI.IsValidGamepadPossessBarStorageSlotIndex(gamepadPossessBarStorageSlotIndex)
Arguments
gamepadPossessBarStorageSlotIndex | luaIndex | |
|---|
Returns
Events
Tables
SpecialPageTopBar | 1 |
|---|
Page1LeftBar | 2 |
|---|
Page1RightBar | 3 |
|---|
Page1BottomBar | 4 |
|---|
Page2TopBar | 5 |
|---|
Page2LeftBar | 6 |
|---|
Page2RightBar | 7 |
|---|
Page2BottomBar | 8 |
|---|
Page3TopBar | 9 |
|---|
Page3LeftBar | 10 |
|---|
Page3RightBar | 11 |
|---|
Page3BottomBar | 12 |
|---|
None | 1 |
|---|
Page1LeftBar | 2 |
|---|
Page1RightBar | 3 |
|---|
Page1BottomBar | 4 |
|---|
Page2TopBar | 5 |
|---|
Page2LeftBar | 6 |
|---|
Page2RightBar | 7 |
|---|
Page2BottomBar | 8 |
|---|
Page3TopBar | 9 |
|---|
Page3LeftBar | 10 |
|---|
Page3RightBar | 11 |
|---|
Page3BottomBar | 12 |
|---|
NUM_SLOTS_PER_GAMEPAD_ACTION_BAR_GROUP | 4 |
|---|
NUM_GROUPS_PER_GAMEPAD_ACTION_BAR | 2 |
|---|
NUM_SLOTS_PER_GAMEPAD_ACTION_BAR | "Constants.GamepadActionBarConstants.NUM_SLOTS_PER_GAMEPAD_ACTION_BAR_GROUP*Constants.GamepadActionBarConstants.NUM_GROUPS_PER_GAMEPAD_ACTION_BAR" |
|---|
NUM_PAGEABLE_BARS_IN_GAMEPAD_ACTION_BAR_PAGE_UNIT | 4 |
|---|
NUM_PAGEABLE_SLOTS_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT_STANDARD_PAGE | "Constants.GamepadActionBarConstants.NUM_PAGEABLE_BARS_IN_GAMEPAD_ACTION_BAR_PAGE_UNIT*Constants.GamepadActionBarConstants.NUM_SLOTS_PER_GAMEPAD_ACTION_BAR" |
|---|
NUM_RESERVED_SLOTS_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT | 4 |
|---|
NUM_PAGES_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT | 4 |
|---|
NUM_STANDARD_PAGES_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT | 3 |
|---|
GAMEPAD_ACTION_BAR_PAGE_UNIT_SPECIAL_PAGE_INDEX | 4 |
|---|
NUM_PAGEABLE_SLOTS_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT | "Constants.GamepadActionBarConstants.NUM_PAGEABLE_SLOTS_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT_STANDARD_PAGE*Constants.GamepadActionBarConstants.NUM_STANDARD_PAGES_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT" |
|---|
NUM_GAMEPAD_STANCE_ACTION_BARS | 5 |
|---|