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
RevisionlongCounts 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.
KindPluginInventoryCommandKindWhich kind of request this answers.
SourceObjectIduintThe item the request acted on.
WeenieErroruintThe 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
Kind
Which kind of request this answers.
public PluginInventoryCommandKind Kind { get; init; }
Property Value
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
SourceObjectId
The item the request acted on.
public uint SourceObjectId { get; init; }
Property Value
WeenieError
The server's error code; zero means the request went through.
public uint WeenieError { get; init; }