Table of Contents

Struct PluginTradeOpened

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

The pair of participants in a trade that just opened. There is no authoritative "who asked first" bit in the tracked trade state, so InitiatorObjectId is always the local player and PartnerObjectId is always the other side, regardless of who actually sent the open request.

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

Constructors

PluginTradeOpened(uint, uint)

The pair of participants in a trade that just opened. There is no authoritative "who asked first" bit in the tracked trade state, so InitiatorObjectId is always the local player and PartnerObjectId is always the other side, regardless of who actually sent the open request.

public PluginTradeOpened(uint InitiatorObjectId, uint PartnerObjectId)

Parameters

InitiatorObjectId uint
PartnerObjectId uint

Properties

InitiatorObjectId

public uint InitiatorObjectId { get; init; }

Property Value

uint

PartnerObjectId

public uint PartnerObjectId { get; init; }

Property Value

uint