# C_Flyout: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_Flyout

## Functions

### C_Flyout.FlyoutHasSpell

```lua
hasSpell = C_Flyout.FlyoutHasSpell(flyoutID, spellID)
```

May return nothing.

Arguments:
- `flyoutID`: number
- `spellID`: number

Returns:
- `hasSpell`: bool

### C_Flyout.GetFlyoutID

```lua
flyoutID = C_Flyout.GetFlyoutID(index)
```

May return nothing.

Arguments:
- `index`: luaIndex

Returns:
- `flyoutID`: number

### C_Flyout.GetFlyoutInfo

```lua
info = C_Flyout.GetFlyoutInfo(flyoutID)
```

May return nothing.

Arguments:
- `flyoutID`: number

Returns:
- `info`: FlyoutInfo

### C_Flyout.GetFlyoutSlotInfo

```lua
slotInfo = C_Flyout.GetFlyoutSlotInfo(flyoutID, slotIndex)
```

May return nothing.

Arguments:
- `flyoutID`: number
- `slotIndex`: luaIndex

Returns:
- `slotInfo`: FlyoutSlotInfo

### C_Flyout.GetFlyoutTexture

```lua
textureID = C_Flyout.GetFlyoutTexture(flyoutID)
```

May return nothing.

Arguments:
- `flyoutID`: number

Returns:
- `textureID`: fileID

### C_Flyout.GetNumFlyouts

```lua
numFlyouts = C_Flyout.GetNumFlyouts()
```

Returns:
- `numFlyouts`: number

## Tables

### FlyoutInfo (structure)

- `name`: string
- `description`: string
- `numSlots`: number
- `isKnown`: bool

### FlyoutSlotInfo (structure)

- `spellID`: number
- `overrideSpellID`: number
- `isKnown`: bool
- `name`: string, may be nil
- `specID`: number, may be nil

---
Make an addon with your 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."
