First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,93 @@
local DeathRecap =
{
Name = "DeathRecap",
Type = "System",
Namespace = "C_DeathRecap",
Environment = "All",
Functions =
{
{
Name = "GetRecapEvents",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "recapID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "events", Type = "table", InnerType = "DeathRecapEventInfo", Nilable = false },
},
},
{
Name = "GetRecapLink",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "recapID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "link", Type = "string", Nilable = false },
},
},
{
Name = "GetRecapMaxHealth",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Returns the max health for the unit that died in the provided death recap." },
Arguments =
{
{ Name = "recapID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "maxHealth", Type = "number", Nilable = false },
},
},
{
Name = "HasRecapEvents",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "recapID", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "hasEvents", Type = "bool", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "DeathRecapEventInfo",
Type = "Structure",
Fields =
{
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(DeathRecap);