Table of Contents

Namespace Uncreated.Warfare.Interaction.Commands

Classes

AndNeedsPermissionAttribute

Define another permission the caller must have.

CommandAttribute

Metadata for a ICommand.

CommandContext

Command interaction helper inheriting ControlException, allowing an action to be taken and this to be thrown in the same line.

CommandDispatcher
CommandInfo
CommandMetadata

Information about the layout of a command from a configuration file.

CommandMetadata.FlagMetadata
CommandParser
CommandWaitTask

Allows await a command execution from either all players or a given player.

CommandWaitTask.CommandWaitAwaiter
LookAtInteractionParameterType<TInteractionType>

Type representing the 'looking at TInteractionType' parameter type.

MetadataFileAttribute

Define the name of the static method that returns help metadata about a command.

MetadataFileRootAttribute

Define the name of the root project folder for this assembly, mainly if it's not equal to the assembly name or the assembly name without periods.

OrNeedsPermissionAttribute

Define another permission the caller could have.

RedirectCommandToAttribute

Allows a parent command to automatically redirect to a child command instead of running it's body or throwing help if it has none.

SubCommandOfAttribute

Defines the parent type of the command, as well as marks this command as a sub-command.

SynchronizedCommandAttribute

Indicates that only one execution of this command can run at once.

TerminalUser
VerbatimParameterType

Type representing the 'verbatim' parameter type.

Structs

CommandFlagInfo

Provides basic information about command flags.

CommandWaitResult
ParsedCommandInfo

Output data for ICommandParser implementations.

Interfaces

ICommand

A command that can be executed.

ICommandUser
ICompoundingCooldownCommand

Allows for a compounding cooldown on a command. Used for request spamming.

IExecutableCommand

A command that can be executed.

Enums

CommandWaitOptions

Configures how a CommandWaitTask awaits.