First commit, step 4 completed
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
local InstanceLeaverInfo =
|
||||
{
|
||||
Name = "InstanceLeaverInfo",
|
||||
Type = "System",
|
||||
Namespace = "C_InstanceLeaver",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "IsPlayerLeaver",
|
||||
Type = "Function",
|
||||
Documentation = { "Returns whether the player is considered a leaver for repeatedly abandoning mythic+ groups." },
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "isLeaver", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
{
|
||||
Name = "InstanceLeaverStatusChanged",
|
||||
Type = "Event",
|
||||
LiteralName = "INSTANCE_LEAVER_STATUS_CHANGED",
|
||||
SynchronousEvent = true,
|
||||
Payload =
|
||||
{
|
||||
{ Name = "isLeaver", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(InstanceLeaverInfo);
|
||||
Reference in New Issue
Block a user