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,58 @@
local SettingsUtil =
{
Name = "SettingsUtil",
Type = "System",
Namespace = "C_SettingsUtil",
Environment = "All",
Functions =
{
{
Name = "NotifySettingsLoaded",
Type = "Function",
},
{
Name = "OpenSettingsPanel",
Type = "Function",
HasRestrictions = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "openToCategoryID", Type = "number", Nilable = true },
{ Name = "scrollToElementName", Type = "stringView", Nilable = true },
},
},
},
Events =
{
{
Name = "SettingsLoaded",
Type = "Event",
LiteralName = "SETTINGS_LOADED",
SynchronousEvent = true,
},
{
Name = "SettingsPanelOpen",
Type = "Event",
LiteralName = "SETTINGS_PANEL_OPEN",
SynchronousEvent = true,
Payload =
{
{ Name = "openToCategoryID", Type = "number", Nilable = true },
{ Name = "scrollToElementName", Type = "stringView", Nilable = true },
},
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(SettingsUtil);