(feat/API) replace Blizzard_APIDocumentation with Wrath Private Data (#72)

This commit is contained in:
NoM0Re
2025-10-01 22:24:58 +02:00
committed by GitHub
parent 29e6f62f54
commit 517f15c7bd
392 changed files with 29576 additions and 43596 deletions
@@ -0,0 +1,119 @@
local Barbershop =
{
Name = "Barbershop",
Type = "System",
Namespace = "Barbershop",
Functions =
{
{
Name = "ApplyBarberShopStyle",
Type = "Function",
},
{
Name = "BarberShopReset",
Type = "Function",
},
{
Name = "CanAlterSkin",
Type = "Function",
Returns =
{
{ Name = "canAlter", Type = "bool", Nilable = false },
},
},
{
Name = "CancelBarberShop",
Type = "Function",
},
{
Name = "GetBarberShopStyleInfo",
Type = "Function",
Arguments =
{
{ Name = "styleIndex", Type = "luaIndex", Nilable = false },
},
Returns =
{
{ Name = "name", Type = "string", Nilable = false },
{ Name = "unused", Type = "string", Nilable = false },
{ Name = "cost", Type = "number", Nilable = false },
{ Name = "isCurrent", Type = "bool", Nilable = false },
},
},
{
Name = "GetBarberShopTotalCost",
Type = "Function",
Returns =
{
{ Name = "cost", Type = "number", Nilable = false },
},
},
{
Name = "GetFacialHairCustomization",
Type = "Function",
Returns =
{
{ Name = "token", Type = "string", Nilable = false },
},
},
{
Name = "GetHairCustomization",
Type = "Function",
Returns =
{
{ Name = "token", Type = "string", Nilable = false },
},
},
{
Name = "SetNextBarberShopStyle",
Type = "Function",
Arguments =
{
{ Name = "styleIndex", Type = "luaIndex", Nilable = false },
{ Name = "reverse", Type = "bool", Nilable = true },
},
},
},
Events =
{
{
Name = "BarberShopAppearanceApplied",
Type = "Event",
LiteralName = "BARBER_SHOP_APPEARANCE_APPLIED",
},
{
Name = "BarberShopClose",
Type = "Event",
LiteralName = "BARBER_SHOP_CLOSE",
},
{
Name = "BarberShopOpen",
Type = "Event",
LiteralName = "BARBER_SHOP_OPEN",
},
{
Name = "BarberShopSuccess",
Type = "Event",
LiteralName = "BARBER_SHOP_SUCCESS",
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(Barbershop);