Table of Contents

Struct BankSplitItemBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Client request to split part of a stack off into a bank slot. Issue #198.

public struct BankSplitItemBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Remarks

The bank-destination twin of InventorySplitItemBroadcast; see it for why the shape mirrors the swap and why the server never echoes this message.

Fields

Amount

How much to take. At least 1 and less than the stack holds; anything else is refused.

public uint Amount

Field Value

uint

From

Slot holding the stack being split, in FromInventory.

public int From

Field Value

int

FromInventory

Container holding the stack being split.

public InventoryType FromInventory

Field Value

InventoryType

To

Bank slot the split half goes to: empty, or a matching stack with room.

public int To

Field Value

int