Table of Contents

Struct RemovedItemRecord

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One vacated inventory slot, recorded for the persistence layer before the container forgot it.

public readonly struct RemovedItemRecord
Inherited Members

Remarks

ItemContainer.RemoveItem sets the removed item's Slot to -1 on the way out, so anything that needs to tell the owning client which slot emptied has to capture it first.

Constructors

RemovedItemRecord(long, long, int)

public RemovedItemRecord(long itemID, long version, int slot)

Parameters

itemID long
version long
slot int

Fields

ItemID

The item's database identity, or 0 for an item never written.

public readonly long ItemID

Field Value

long

Slot

The slot the item was removed from.

public readonly int Slot

Field Value

int

Version

The version the delete is authorised against.

public readonly long Version

Field Value

long