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,57 @@
local RolesetSystem =
{
Name = "RolesetSystem",
Type = "System",
Namespace = "C_Roleset",
Environment = "All",
Functions =
{
{
Name = "ApplyRolesetFilters",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Sets or clears both blocklist and allowlist filters atomically with a single visibility reevaluation. Pass an empty table to clear the corresponding filter." },
Arguments =
{
{ Name = "blockedRolesets", Type = "table", InnerType = "string", Nilable = false },
{ Name = "allowedRolesets", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "GetActiveAllowedRolesets",
Type = "Function",
Documentation = { "Returns the rolesets in the currently active allowlist." },
Returns =
{
{ Name = "allowedRolesets", Type = "table", InnerType = "string", Nilable = false },
},
},
{
Name = "GetActiveBlockedRolesets",
Type = "Function",
Documentation = { "Returns the rolesets in the currently active blocklist." },
Returns =
{
{ Name = "blockedRolesets", Type = "table", InnerType = "string", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(RolesetSystem);