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,101 @@
local AlliedRacesFrame =
{
Name = "AlliedRaces",
Type = "System",
Namespace = "C_AlliedRaces",
Environment = "All",
Functions =
{
{
Name = "GetAllRacialAbilitiesFromID",
Type = "Function",
MayReturnNothing = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "allDisplayInfo", Type = "table", InnerType = "AlliedRaceRacialAbility", Nilable = false },
},
},
{
Name = "GetRaceInfoByID",
Type = "Function",
MayReturnNothing = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "info", Type = "AlliedRaceInfo", Nilable = false },
},
},
},
Events =
{
{
Name = "AlliedRaceClose",
Type = "Event",
LiteralName = "ALLIED_RACE_CLOSE",
SynchronousEvent = true,
},
{
Name = "AlliedRaceOpen",
Type = "Event",
LiteralName = "ALLIED_RACE_OPEN",
SynchronousEvent = true,
Payload =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
},
},
Tables =
{
{
Name = "AlliedRaceInfo",
Type = "Structure",
Fields =
{
{ Name = "raceID", Type = "number", Nilable = false },
{ Name = "maleModelID", Type = "number", Nilable = false },
{ Name = "femaleModelID", Type = "number", Nilable = false },
{ Name = "achievementIds", Type = "table", InnerType = "number", Nilable = false },
{ Name = "maleName", Type = "cstring", Nilable = false },
{ Name = "femaleName", Type = "cstring", Nilable = false },
{ Name = "description", Type = "cstring", Nilable = false },
{ Name = "raceFileString", Type = "cstring", Nilable = false },
{ Name = "crestAtlas", Type = "textureAtlas", Nilable = false },
{ Name = "modelBackgroundAtlas", Type = "textureAtlas", Nilable = false },
{ Name = "bannerColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = false },
},
},
{
Name = "AlliedRaceRacialAbility",
Type = "Structure",
Fields =
{
{ Name = "description", Type = "cstring", Nilable = false },
{ Name = "name", Type = "cstring", Nilable = false },
{ Name = "icon", Type = "fileID", Nilable = false },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(AlliedRacesFrame);