Table of Contents

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

label string
kind StaffArgumentKind
choices string[]
optional bool

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

StaffArgumentKind

Label

The label shown to operators.

public readonly string Label

Field Value

string

Optional

True when the argument may be left out.

public readonly bool Optional

Field Value

bool