WowAddons

World of Warcraft Forever API · C_Flyout.md, for your AI

C_Flyout

6 functions, 2 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_Flyout.FlyoutHasSpell

hasSpell = C_Flyout.FlyoutHasSpell(flyoutID, spellID)

May return nothing.

Arguments

flyoutIDnumber
spellIDnumber

Returns

hasSpellbool

C_Flyout.GetFlyoutID

flyoutID = C_Flyout.GetFlyoutID(index)

May return nothing.

Arguments

indexluaIndex

Returns

flyoutIDnumber

C_Flyout.GetFlyoutInfo

info = C_Flyout.GetFlyoutInfo(flyoutID)

May return nothing.

Arguments

flyoutIDnumber

Returns

infoFlyoutInfo

C_Flyout.GetFlyoutSlotInfo

slotInfo = C_Flyout.GetFlyoutSlotInfo(flyoutID, slotIndex)

May return nothing.

Arguments

flyoutIDnumber
slotIndexluaIndex

Returns

slotInfoFlyoutSlotInfo

C_Flyout.GetFlyoutTexture

textureID = C_Flyout.GetFlyoutTexture(flyoutID)

May return nothing.

Arguments

flyoutIDnumber

Returns

textureIDfileID

C_Flyout.GetNumFlyouts

numFlyouts = C_Flyout.GetNumFlyouts()

Returns

numFlyoutsnumber

Tables

FlyoutInfo structure

namestring
descriptionstring
numSlotsnumber
isKnownbool

FlyoutSlotInfo structure

spellIDnumber
overrideSpellIDnumber
isKnownbool
namestring may be nil
specIDnumber may be nil

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