Table of Contents

Struct MerchantSellResultBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Server → Client broadcast acknowledging or refusing a merchant sale.

public struct MerchantSellResultBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

The sell path needs an explicit reply for the same reason every other item operation does: the client holds a pending lock on the slot it submitted, and a handler that simply returns leaves that lock held forever. Every exit from the sell handler sends one of these.

Fields

Payout

Currency actually paid out.

public int Payout

Field Value

int

Quantity

Quantity actually sold, after server-side clamping.

public int Quantity

Field Value

int

Slot

The inventory slot the request named.

public int Slot

Field Value

int

Success

True when the sale went through.

public bool Success

Field Value

bool