Show / Hide Table of Contents

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 Source

AdminCommandAttribute(AdminFlags)

Declaration
public AdminCommandAttribute(AdminFlags flags)
Parameters
Type Name Description
AdminFlags flags

Properties

| Improve this Doc View Source

Flags

Declaration
public AdminFlags Flags { get; }
Property Value
Type Description
AdminFlags

See Also

AnyCommandAttribute
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾