v0.13.8

C_Trainer

namespaceavailable in: camelot

Status in wowlua

3 functions: 0 implemented, 0 recorded, 3 guessed. 5 events, 4 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetCategorizeTrainerUIWhether the trainer window groups its services into categories. · by wowlua
(): boolean
guessed
GetTrainerTypeReturns the type of the open trainer. · by wowlua
(): TrainerType
guessed
SetCategorizeTrainerUISets 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

eventpayloadfired by the emulator
TRAINER_CLOSEDno payloadimplemented
TRAINER_DESCRIPTION_UPDATEno payloadnot implemented
TRAINER_SERVICE_INFO_NAME_UPDATEno payloadimplemented
TRAINER_SHOWno payloadimplemented
TRAINER_UPDATEno payloadimplemented

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.