First commit, step 4 completed
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user