Table of Contents

Struct TradeOfferEntry

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One item on the table, as the server describes it to both parties.

public struct TradeOfferEntry
Inherited Members

Remarks

Carries enough to draw the item on a client that does not hold it — the partner's offer is made of items the receiving client has never seen — and the inventory slot so the owning client can lock and unlock its own bag without a second lookup. The ItemID is informational; nothing on the client may send it back as a claim.

Fields

Amount

Quantity offered out of the stack. 1 for a non-stackable item.

public uint Amount

Field Value

uint

ItemID

The item's durable identity, for display and tooltips only.

public long ItemID

Field Value

long

Seed

Generation seed, so a generated item's tooltip rolls the same stats on both clients.

public int Seed

Field Value

int

Slot

The offering character's inventory slot the item sits in.

public int Slot

Field Value

int

TemplateID

Item template.

public int TemplateID

Field Value

int