Table of Contents

Interface IExecutableCommand

Namespace
Uncreated.Warfare.Interaction.Commands
Assembly
Uncreated.Warfare.dll

A command that can be executed.

public interface IExecutableCommand : ICommand

Properties

Context

The context used to execute the command.

CommandContext Context { get; init; }

Property Value

CommandContext

Methods

ExecuteAsync(CancellationToken)

Actually execute the command.

UniTask ExecuteAsync(CancellationToken token)

Parameters

token CancellationToken

Returns

UniTask

Exceptions

CommandContext