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
KindPluginVendorTransactionKindWhether this was a buy or a sell.
SuccessboolTrue when the server carried the transaction out.
NoticestringA 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
Notice
A short human-readable reason when the transaction failed; null otherwise.
public string? Notice { get; init; }
Property Value
Success
True when the server carried the transaction out.
public bool Success { get; init; }