Table of Contents

Struct PluginInventoryCompletion

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

The server's answer to one inventory request.

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

Constructors

PluginInventoryCompletion(long, PluginInventoryCommandKind, uint, uint)

The server's answer to one inventory request.

public PluginInventoryCompletion(long Revision, PluginInventoryCommandKind Kind, uint SourceObjectId, uint WeenieError)

Parameters

Revision long

Counts up by one for every completion, so a plugin can tell a fresh one from one it has already seen. Zero means nothing has completed yet.

Kind PluginInventoryCommandKind

Which kind of request this answers.

SourceObjectId uint

The item the request acted on.

WeenieError uint

The server's error code; zero means the request went through.

Properties

IsSuccess

True when a request has actually completed and the server reported no error for it.

public bool IsSuccess { get; }

Property Value

bool

Kind

Which kind of request this answers.

public PluginInventoryCommandKind Kind { get; init; }

Property Value

PluginInventoryCommandKind

Revision

Counts up by one for every completion, so a plugin can tell a fresh one from one it has already seen. Zero means nothing has completed yet.

public long Revision { get; init; }

Property Value

long

SourceObjectId

The item the request acted on.

public uint SourceObjectId { get; init; }

Property Value

uint

WeenieError

The server's error code; zero means the request went through.

public uint WeenieError { get; init; }

Property Value

uint