Class AdminCommandAttribute
Specifies that a command can only be executed by an admin with the specified flags.
Inheritance
System.Object
AdminCommandAttribute
Namespace: Content.Server.Administration
Assembly: Content.Server.dll
Syntax
public sealed class AdminCommandAttribute : Attribute
Remarks
If this attribute is used multiple times, either attribute's flag sets can be used to get access.
Constructors
| Improve this Doc View SourceAdminCommandAttribute(AdminFlags)
Declaration
public AdminCommandAttribute(AdminFlags flags)
Parameters
Type | Name | Description |
---|---|---|
AdminFlags | flags |
Properties
| Improve this Doc View SourceFlags
Declaration
public AdminFlags Flags { get; }
Property Value
Type | Description |
---|---|
AdminFlags |