(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,57 @@
local Duel =
{
Name = "Duel",
Type = "System",
Namespace = "Duel",
Functions =
{
{
Name = "AcceptDuel",
Type = "Function",
},
{
Name = "CancelDuel",
Type = "Function",
},
{
Name = "StartDuel",
Type = "Function",
Arguments =
{
{ Name = "unit", Type = "UnitToken", Nilable = true },
{ Name = "name", Type = "string", Nilable = true },
{ Name = "exactMatch", Type = "bool", Nilable = true },
},
},
},
Events =
{
{
Name = "DuelFinished",
Type = "Event",
LiteralName = "DUEL_FINISHED",
},
{
Name = "DuelInbounds",
Type = "Event",
LiteralName = "DUEL_INBOUNDS",
},
{
Name = "DuelOutofbounds",
Type = "Event",
LiteralName = "DUEL_OUTOFBOUNDS",
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(Duel);