World of Warcraft Forever API · C_Trainer.md, for your AI
C_Trainer
3 functions, 5 events, 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_Trainer.GetCategorizeTrainerUI
value = C_Trainer.GetCategorizeTrainerUI()
Returns
value | bool |
|---|
C_Trainer.GetTrainerType
trainerType = C_Trainer.GetTrainerType()
Returns
trainerType | TrainerType |
|---|
C_Trainer.SetCategorizeTrainerUI
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.