Table of Contents

Struct PluginVendorTransaction

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

The server's answer to a committed buy or sell.

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

Constructors

PluginVendorTransaction(PluginVendorTransactionKind, bool, string?)

The server's answer to a committed buy or sell.

public PluginVendorTransaction(PluginVendorTransactionKind Kind, bool Success, string? Notice)

Parameters

Kind PluginVendorTransactionKind

Whether this was a buy or a sell.

Success bool

True when the server carried the transaction out.

Notice string

A short human-readable reason when the transaction failed; null otherwise.

Properties

Kind

Whether this was a buy or a sell.

public PluginVendorTransactionKind Kind { get; init; }

Property Value

PluginVendorTransactionKind

Notice

A short human-readable reason when the transaction failed; null otherwise.

public string? Notice { get; init; }

Property Value

string

Success

True when the server carried the transaction out.

public bool Success { get; init; }

Property Value

bool