Table of Contents

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

slot int
itemID long
templateID int
seed int
amount uint

Fields

Amount

Quantity offered.

public readonly uint Amount

Field Value

uint

ItemID

The item's identity at the time it was offered. Re-checked at completion.

public readonly long ItemID

Field Value

long

Seed

Generation seed, for the partner's tooltip.

public readonly int Seed

Field Value

int

Slot

The offering character's inventory slot.

public readonly int Slot

Field Value

int

TemplateID

Template, so the partner can draw it and so completion can refuse a swapped item.

public readonly int TemplateID

Field Value

int

Methods

ToEntry()

The wire form of this offer.

public TradeOfferEntry ToEntry()

Returns

TradeOfferEntry