Table of Contents

Struct PluginVendorCommandResult

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

The outcome of one vendor command, with an optional explanation.

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

Constructors

PluginVendorCommandResult(PluginVendorCommandStatus, string?)

The outcome of one vendor command, with an optional explanation.

public PluginVendorCommandResult(PluginVendorCommandStatus Status, string? Notice = null)

Parameters

Status PluginVendorCommandStatus

What the client did with the command.

Notice string

A short human-readable reason, when there is one.

Properties

Accepted

True when the command took effect.

public bool Accepted { get; }

Property Value

bool

Notice

A short human-readable reason, when there is one.

public string? Notice { get; init; }

Property Value

string

Status

What the client did with the command.

public PluginVendorCommandStatus Status { get; init; }

Property Value

PluginVendorCommandStatus