(feat/API) replace Blizzard_APIDocumentation with Wrath Private Data (#72)
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user