Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)

This commit is contained in:
NoM0Re
2025-07-05 19:08:53 +02:00
committed by GitHub
parent ad68aa2f97
commit 0971189346
319 changed files with 47180 additions and 18 deletions
@@ -0,0 +1,85 @@
local PlayerInfo =
{
Name = "PlayerInfo",
Type = "System",
Namespace = "C_PlayerInfo",
Functions =
{
{
Name = "CanUseItem",
Type = "Function",
Arguments =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isUseable", Type = "bool", Nilable = false },
},
},
{
Name = "GetAlternateFormInfo",
Type = "Function",
Returns =
{
{ Name = "hasAlternateForm", Type = "bool", Nilable = false },
{ Name = "inAlternateForm", Type = "bool", Nilable = false },
},
},
{
Name = "GetDisplayID",
Type = "Function",
Returns =
{
{ Name = "displayID", Type = "number", Nilable = false },
},
},
{
Name = "GetPlayerCharacterData",
Type = "Function",
Returns =
{
{ Name = "characterData", Type = "PlayerInfoCharacterData", Nilable = false },
},
},
{
Name = "HasVisibleInvSlot",
Type = "Function",
Arguments =
{
{ Name = "slot", Type = "luaIndex", Nilable = false },
},
Returns =
{
{ Name = "isVisible", Type = "bool", Nilable = false },
},
},
{
Name = "IsXPUserDisabled",
Type = "Function",
Returns =
{
{ Name = "isDisabled", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(PlayerInfo);