Table of Contents

Struct PluginCharacterOptionResult

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

The outcome of one character option change. Branch on Status; Notice is a one-line reason for a person and is not a stable identifier.

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

Constructors

PluginCharacterOptionResult(PluginCharacterOptionStatus, string?)

The outcome of one character option change. Branch on Status; Notice is a one-line reason for a person and is not a stable identifier.

public PluginCharacterOptionResult(PluginCharacterOptionStatus Status, string? Notice = null)

Parameters

Status PluginCharacterOptionStatus

What happened.

Notice string

Why, when there is something worth saying.

Properties

Accepted

Whether the option now has the value asked for.

public bool Accepted { get; }

Property Value

bool

Notice

Why, when there is something worth saying.

public string? Notice { get; init; }

Property Value

string

Status

What happened.

public PluginCharacterOptionStatus Status { get; init; }

Property Value

PluginCharacterOptionStatus