Struct TradeOffer
- Namespace
- FishMMO.Server.Implementation.World.SceneServer
- Assembly
- FishMMO.Server.dll
One item on the table.
public readonly struct TradeOffer
- Inherited Members
Constructors
TradeOffer(int, long, int, int, uint)
public TradeOffer(int slot, long itemID, int templateID, int seed, uint amount)
Parameters
Fields
Amount
Quantity offered.
public readonly uint Amount
Field Value
ItemID
The item's identity at the time it was offered. Re-checked at completion.
public readonly long ItemID
Field Value
Seed
Generation seed, for the partner's tooltip.
public readonly int Seed
Field Value
Slot
The offering character's inventory slot.
public readonly int Slot
Field Value
TemplateID
Template, so the partner can draw it and so completion can refuse a swapped item.
public readonly int TemplateID
Field Value
Methods
ToEntry()
The wire form of this offer.
public TradeOfferEntry ToEntry()