Struct MerchantSellResultBroadcast
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
Quantity
Quantity actually sold, after server-side clamping.
public int Quantity
Field Value
Slot
The inventory slot the request named.
public int Slot
Field Value
Success
True when the sale went through.
public bool Success