69 lines
1.2 KiB
Lua
69 lines
1.2 KiB
Lua
local IncomingSummon =
|
|
{
|
|
Name = "IncomingSummon",
|
|
Type = "System",
|
|
Namespace = "C_IncomingSummon",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "HasIncomingSummon",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "summon", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IncomingSummonStatus",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "status", Type = "SummonStatus", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
{
|
|
Name = "SummonStatus",
|
|
Type = "Enumeration",
|
|
NumValues = 4,
|
|
MinValue = 0,
|
|
MaxValue = 3,
|
|
Fields =
|
|
{
|
|
{ Name = "None", Type = "SummonStatus", EnumValue = 0 },
|
|
{ Name = "Pending", Type = "SummonStatus", EnumValue = 1 },
|
|
{ Name = "Accepted", Type = "SummonStatus", EnumValue = 2 },
|
|
{ Name = "Declined", Type = "SummonStatus", EnumValue = 3 },
|
|
},
|
|
},
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(IncomingSummon); |