Files
SessionGoldTracker/docs/blizzard-api/Blizzard_APIDocumentationGenerated/TrainerDocumentation.lua
T
2026-10-15 14:27:00 +11:00

83 lines
1.3 KiB
Lua

local Trainer =
{
Name = "Trainer",
Type = "System",
Namespace = "C_Trainer",
Environment = "All",
Functions =
{
{
Name = "GetCategorizeTrainerUI",
Type = "Function",
Returns =
{
{ Name = "value", Type = "bool", Nilable = false },
},
},
{
Name = "GetTrainerType",
Type = "Function",
Returns =
{
{ Name = "trainerType", Type = "TrainerType", Nilable = false },
},
},
{
Name = "SetCategorizeTrainerUI",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "value", Type = "bool", Nilable = false },
},
},
},
Events =
{
{
Name = "TrainerClosed",
Type = "Event",
LiteralName = "TRAINER_CLOSED",
SynchronousEvent = true,
},
{
Name = "TrainerDescriptionUpdate",
Type = "Event",
LiteralName = "TRAINER_DESCRIPTION_UPDATE",
SynchronousEvent = true,
},
{
Name = "TrainerServiceInfoNameUpdate",
Type = "Event",
LiteralName = "TRAINER_SERVICE_INFO_NAME_UPDATE",
UniqueEvent = true,
},
{
Name = "TrainerShow",
Type = "Event",
LiteralName = "TRAINER_SHOW",
SynchronousEvent = true,
},
{
Name = "TrainerUpdate",
Type = "Event",
LiteralName = "TRAINER_UPDATE",
SynchronousEvent = true,
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(Trainer);