Table of Contents

Struct PluginAllegianceCommandResult

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

The outcome of one allegiance command.

public readonly record struct PluginAllegianceCommandResult : IEquatable<PluginAllegianceCommandResult>
Implements
Inherited Members

Constructors

PluginAllegianceCommandResult(PluginAllegianceCommandStatus, string?)

The outcome of one allegiance command.

public PluginAllegianceCommandResult(PluginAllegianceCommandStatus Status, string? Notice = null)

Parameters

Status PluginAllegianceCommandStatus

What the client did with the command.

Notice string

Why it was refused, when there is something to say.

Properties

Accepted

True when the command actually went out to the server.

public bool Accepted { get; }

Property Value

bool

Notice

Why it was refused, when there is something to say.

public string? Notice { get; init; }

Property Value

string

Status

What the client did with the command.

public PluginAllegianceCommandStatus Status { get; init; }

Property Value

PluginAllegianceCommandStatus