# C_Trainer: 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_Trainer

## Functions

### C_Trainer.GetCategorizeTrainerUI

```lua
value = C_Trainer.GetCategorizeTrainerUI()
```

Returns:
- `value`: bool

### C_Trainer.GetTrainerType

```lua
trainerType = C_Trainer.GetTrainerType()
```

Returns:
- `trainerType`: TrainerType

### C_Trainer.SetCategorizeTrainerUI

```lua
C_Trainer.SetCategorizeTrainerUI(value)
```

Arguments:
- `value`: bool

## Events

### TRAINER_CLOSED

No payload.

### TRAINER_DESCRIPTION_UPDATE

No payload.

### TRAINER_SERVICE_INFO_NAME_UPDATE

No payload.

### TRAINER_SHOW

No payload.

### TRAINER_UPDATE

No payload.

---
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."
