Struct OperatorCommandParsing.ArgumentSpec
- Namespace
- FishMMO.Server.Implementation.World.SceneServer
- Assembly
- FishMMO.Server.dll
One argument, as a command's spec describes it.
public readonly struct OperatorCommandParsing.ArgumentSpec
- Inherited Members
Constructors
ArgumentSpec(string, StaffArgumentKind, string[], bool)
Creates an argument description.
public ArgumentSpec(string label, StaffArgumentKind kind, string[] choices, bool optional)
Parameters
labelstringkindStaffArgumentKindchoicesstring[]optionalbool
Fields
Choices
The allowed words, for a choice.
public readonly string[] Choices
Field Value
- string[]
Kind
What sort of value it is.
public readonly StaffArgumentKind Kind
Field Value
Label
The label shown to operators.
public readonly string Label
Field Value
Optional
True when the argument may be left out.
public readonly bool Optional