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
characterIDlong
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
CharacterID
public readonly long CharacterID
Field Value
Confirmed
Whether this side has confirmed its offer as final at the current Version. Both confirmations freeze the table.
public bool Confirmed
Field Value
Currency
Currency on the table.
public long Currency
Field Value
Offers
Items on the table, in the order they were offered.
public readonly List<TradeOffer> Offers
Field Value
Properties
IsEmpty
True when nothing at all is on this side of the table.
public bool IsEmpty { get; }
Property Value
Methods
IndexOfSlot(int)
Index of the offer made from slot, or -1.
public int IndexOfSlot(int slot)
Parameters
slotint
Returns
ToEntries()
The wire form of this side's items.
public TradeOfferEntry[] ToEntries()