First commit, step 4 completed
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user