Table of Contents

Struct PluginAdvancementResult

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

The outcome of one advancement request, with an optional explanation.

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

Constructors

PluginAdvancementResult(PluginAdvancementStatus, string?)

The outcome of one advancement request, with an optional explanation.

public PluginAdvancementResult(PluginAdvancementStatus Status, string? Notice = null)

Parameters

Status PluginAdvancementStatus

What the client did with the request.

Notice string

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

Properties

Accepted

True when the request actually went out to the server.

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 request.

public PluginAdvancementStatus Status { get; init; }

Property Value

PluginAdvancementStatus