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