Table of Contents

Class TradeSession.Party

Namespace
FishMMO.Server.Implementation.World.SceneServer
Assembly
FishMMO.Server.dll

One side of the table.

public sealed class TradeSession.Party
Inheritance
TradeSession.Party
Inherited Members

Constructors

Party(long)

public Party(long characterID)

Parameters

characterID long

Fields

Accepted

Whether this side has accepted the frozen table. Only reachable while both sides are confirmed; cleared the moment either confirmation is revoked.

public bool Accepted

Field Value

bool

CharacterID

public readonly long CharacterID

Field Value

long

Confirmed

Whether this side has confirmed its offer as final at the current Version. Both confirmations freeze the table.

public bool Confirmed

Field Value

bool

Currency

Currency on the table.

public long Currency

Field Value

long

Offers

Items on the table, in the order they were offered.

public readonly List<TradeOffer> Offers

Field Value

List<TradeOffer>

Properties

IsEmpty

True when nothing at all is on this side of the table.

public bool IsEmpty { get; }

Property Value

bool

Methods

IndexOfSlot(int)

Index of the offer made from slot, or -1.

public int IndexOfSlot(int slot)

Parameters

slot int

Returns

int

ToEntries()

The wire form of this side's items.

public TradeOfferEntry[] ToEntries()

Returns

TradeOfferEntry[]