(feat/API) replace Blizzard_APIDocumentation with Wrath Private Data (#72)
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
local Buff =
|
||||
{
|
||||
Name = "Buff",
|
||||
Type = "System",
|
||||
Namespace = "Buff",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "CancelItemTempEnchantment",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "slot", Type = "number", Nilable = false },
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
Name = "CancelShapeshiftForm",
|
||||
Type = "Function",
|
||||
|
||||
},
|
||||
{
|
||||
Name = "CancelUnitBuff",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = true },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "name", Type = "string", Nilable = true },
|
||||
{ Name = "rank", Type = "string", Nilable = true },
|
||||
{ Name = "filter", Type = "string", Nilable = true },
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
Name = "GetWeaponEnchantInfo",
|
||||
Type = "Function",
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "hasMainHandEnchant", Type = "bool", Nilable = false },
|
||||
{ Name = "mainHandExpiration", Type = "number", Nilable = false },
|
||||
{ Name = "mainHandCharges", Type = "number", Nilable = false },
|
||||
{ Name = "hasOffHandEnchant", Type = "bool", Nilable = false },
|
||||
{ Name = "offHandExpiration", Type = "number", Nilable = false },
|
||||
{ Name = "offHandCharges", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnitAura",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "name", Type = "string", Nilable = true },
|
||||
{ Name = "rank", Type = "string", Nilable = true },
|
||||
{ Name = "filter", Type = "string", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "rank", Type = "string", Nilable = false },
|
||||
{ Name = "icon", Type = "string", Nilable = false },
|
||||
{ Name = "count", Type = "number", Nilable = false },
|
||||
{ Name = "dispelType", Type = "string", Nilable = false },
|
||||
{ Name = "duration", Type = "time_t", Nilable = false },
|
||||
{ Name = "expires", Type = "number", Nilable = false },
|
||||
{ Name = "caster", Type = "string", Nilable = false },
|
||||
{ Name = "isStealable", Type = "1nil", Nilable = false },
|
||||
{ Name = "shouldConsolidate", Type = "bool", Nilable = false },
|
||||
{ Name = "spellID", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "UnitDebuff",
|
||||
Type = "Function",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "unit", Type = "UnitToken", Nilable = false },
|
||||
{ Name = "index", Type = "luaIndex", Nilable = true },
|
||||
{ Name = "name", Type = "string", Nilable = true },
|
||||
{ Name = "rank", Type = "string", Nilable = true },
|
||||
{ Name = "filter", Type = "string", Nilable = true },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "name", Type = "string", Nilable = false },
|
||||
{ Name = "rank", Type = "string", Nilable = false },
|
||||
{ Name = "icon", Type = "string", Nilable = false },
|
||||
{ Name = "count", Type = "number", Nilable = false },
|
||||
{ Name = "dispelType", Type = "string", Nilable = false },
|
||||
{ Name = "duration", Type = "time_t", Nilable = false },
|
||||
{ Name = "expires", Type = "number", Nilable = false },
|
||||
{ Name = "caster", Type = "string", Nilable = false },
|
||||
{ Name = "isStealable", Type = "1nil", Nilable = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(Buff);
|
||||
Reference in New Issue
Block a user