C_Trainer
namespaceavailable in: camelotStatus in wowlua
3 functions: 0 implemented, 0 recorded, 3 guessed. 5 events, 4 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetCategorizeTrainerUI | Whether the trainer window groups its services into categories. · by wowlua(): boolean | guessed |
GetTrainerType | Returns the type of the open trainer. · by wowlua(): TrainerType | guessed |
SetCategorizeTrainerUI | Sets whether the trainer window groups its services into categories. · by wowlua(value: boolean) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
TRAINER_CLOSED | no payload | implemented |
TRAINER_DESCRIPTION_UPDATE | no payload | not implemented |
TRAINER_SERVICE_INFO_NAME_UPDATE | no payload | implemented |
TRAINER_SHOW | no payload | implemented |
TRAINER_UPDATE | no payload | implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("TRAINER_DESCRIPTION_UPDATE").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Trainer system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.