113 lines
1.8 KiB
Lua
113 lines
1.8 KiB
Lua
local RecruitAFriend =
|
|
{
|
|
Name = "Recruit Friend",
|
|
Type = "System",
|
|
Namespace = "Recruit Friend",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "AcceptLevelGrant",
|
|
Type = "Function",
|
|
|
|
},
|
|
{
|
|
Name = "CanGrantLevel",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canGrant", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "CanSummonFriend",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "name", Type = "string", Nilable = true },
|
|
{ Name = "unit", Type = "UnitToken", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canSummon", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "DeclineLevelGrant",
|
|
Type = "Function",
|
|
|
|
},
|
|
{
|
|
Name = "GetSummonFriendCooldown",
|
|
Type = "Function",
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "start", Type = "number", Nilable = false },
|
|
{ Name = "duration", Type = "time_t", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GrantLevel",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canGrant", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "IsReferAFriendLinked",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "isLinked", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SummonFriend",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "name", Type = "string", Nilable = true },
|
|
{ Name = "unit", Type = "UnitToken", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "canSummon", Type = "bool", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(RecruitAFriend);
|