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
StatusPluginAllegianceCommandStatusWhat the client did with the command.
NoticestringWhy 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
Notice
Why it was refused, when there is something to say.
public string? Notice { get; init; }
Property Value
Status
What the client did with the command.
public PluginAllegianceCommandStatus Status { get; init; }