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,90 @@
local Covenants =
{
Name = "Covenant",
Type = "System",
Namespace = "C_Covenants",
Environment = "All",
Functions =
{
{
Name = "GetActiveCovenantID",
Type = "Function",
Returns =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
},
{
Name = "GetCovenantData",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "data", Type = "CovenantData", Nilable = true },
},
},
{
Name = "GetCovenantIDs",
Type = "Function",
Returns =
{
{ Name = "covenantID", Type = "table", InnerType = "number", Nilable = false },
},
},
},
Events =
{
{
Name = "CovenantChosen",
Type = "Event",
LiteralName = "COVENANT_CHOSEN",
SynchronousEvent = true,
Payload =
{
{ Name = "covenantID", Type = "number", Nilable = false },
},
},
},
Tables =
{
{
Name = "CovenantData",
Type = "Structure",
Fields =
{
{ Name = "ID", Type = "number", Nilable = false },
{ Name = "textureKit", Type = "textureKit", Nilable = false },
{ Name = "celebrationSoundKit", Type = "number", Nilable = false },
{ Name = "animaChannelSelectSoundKit", Type = "number", Nilable = false },
{ Name = "animaChannelActiveSoundKit", Type = "number", Nilable = false },
{ Name = "animaGemsFullSoundKit", Type = "number", Nilable = false },
{ Name = "animaNewGemSoundKit", Type = "number", Nilable = false },
{ Name = "animaReinforceSelectSoundKit", Type = "number", Nilable = false },
{ Name = "upgradeTabSelectSoundKitID", Type = "number", Nilable = false },
{ Name = "reservoirFullSoundKitID", Type = "number", Nilable = false },
{ Name = "beginResearchSoundKitID", Type = "number", Nilable = false },
{ Name = "renownFanfareSoundKitID", Type = "number", Nilable = false },
{ Name = "factionID", Type = "number", Nilable = false },
{ Name = "name", Type = "cstring", Nilable = false },
{ Name = "soulbindIDs", Type = "table", InnerType = "number", Nilable = false },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(Covenants);