WowAddons

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

C_GamepadUI.GetFirstGamepadActionBarStorageSlotIndexForActiveStance

activeStanceFirstGamepadStorageSlotIndex = C_GamepadUI.GetFirstGamepadActionBarStorageSlotIndexForActiveStance()

Returns

activeStanceFirstGamepadStorageSlotIndexluaIndex may be nil

C_GamepadUI.GetFirstGamepadActionStorageSlotIndex

firstGamepadActionStorageSlotIndex = C_GamepadUI.GetFirstGamepadActionStorageSlotIndex()

Returns

firstGamepadActionStorageSlotIndexluaIndex

C_GamepadUI.GetFirstGamepadPetActionStorageSlotIndex

firstGamepadPetActionStorageSlotID = C_GamepadUI.GetFirstGamepadPetActionStorageSlotIndex()

Returns

firstGamepadPetActionStorageSlotIDluaIndex

C_GamepadUI.IsValidGamepadActionStorageSlotIndex

isValid = C_GamepadUI.IsValidGamepadActionStorageSlotIndex(gamepadActionStorageSlotIndex)

Arguments

gamepadActionStorageSlotIndexluaIndex

Returns

isValidbool

C_GamepadUI.IsValidGamepadPossessBarStorageSlotIndex

isValid = C_GamepadUI.IsValidGamepadPossessBarStorageSlotIndex(gamepadPossessBarStorageSlotIndex)

Arguments

gamepadPossessBarStorageSlotIndexluaIndex

Returns

isValidbool

Events

GAMEPAD_POSSESS_BAR_OVERRIDE_CHANGED

oldOverrideGamepadPossessBarOverride
newOverrideGamepadPossessBarOverride

GAMEPAD_STANCE_BAR_OVERRIDE_CHANGED

oldOverrideGamepadStanceBarOverride
newOverrideGamepadStanceBarOverride

Tables

Enum.GamepadPossessBarOverride enumeration

SpecialPageTopBar1
Page1LeftBar2
Page1RightBar3
Page1BottomBar4
Page2TopBar5
Page2LeftBar6
Page2RightBar7
Page2BottomBar8
Page3TopBar9
Page3LeftBar10
Page3RightBar11
Page3BottomBar12

Enum.GamepadStanceBarOverride enumeration

None1
Page1LeftBar2
Page1RightBar3
Page1BottomBar4
Page2TopBar5
Page2LeftBar6
Page2RightBar7
Page2BottomBar8
Page3TopBar9
Page3LeftBar10
Page3RightBar11
Page3BottomBar12

GamepadActionBarConstants constants

NUM_SLOTS_PER_GAMEPAD_ACTION_BAR_GROUP4
NUM_GROUPS_PER_GAMEPAD_ACTION_BAR2
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_UNIT4
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_UNIT4
NUM_PAGES_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT4
NUM_STANDARD_PAGES_PER_GAMEPAD_ACTION_BAR_PAGE_UNIT3
GAMEPAD_ACTION_BAR_PAGE_UNIT_SPECIAL_PAGE_INDEX4
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_BARS5

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows