Class ModBehaviour.ConsoleCommandAttribute
Commands must reside inside ModBehaviours.
Inheritance
object
System.Attribute
ModBehaviour.ConsoleCommandAttribute
Namespace: Global
Assembly: Dew.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
public class ModBehaviour.ConsoleCommandAttribute : Attribute
Constructors
ConsoleCommandAttribute(string, string)
Declaration
public ConsoleCommandAttribute(string description, string customName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | description | |
| string | customName |
ConsoleCommandAttribute(string)
Declaration
public ConsoleCommandAttribute(string description)
Parameters
| Type | Name | Description |
|---|---|---|
| string | description |
Fields
CustomName
Declaration
public readonly string CustomName
Field Value
| Type | Description |
|---|---|
| string |
Description
Declaration
public readonly string Description
Field Value
| Type | Description |
|---|---|
| string |