SwiftlyS2

CommandInfo

Class CommandInfo

Namespace: SwiftlyS2.Shared.Commands

Assembly: SwiftlyS2.CS2.dll

Contains information about a registered command.

public record CommandInfo : IEquatable<CommandInfo>

Inheritance

Implements

Inherited Members

Properties

CommandName

The name of the command.

public required string CommandName { get; init; }
Property Value

HelpText

The help text for this command.

public required string HelpText { get; init; }
Property Value

Permission

The permission required to use this command.

public required string Permission { get; init; }
Property Value

RegisterRaw

Whether the command is registered without the 'sw_' prefix.

public required bool RegisterRaw { get; init; }
Property Value

On this page