Struct RemovedItemRecord
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
Fields
ItemID
The item's database identity, or 0 for an item never written.
public readonly long ItemID
Field Value
Slot
The slot the item was removed from.
public readonly int Slot
Field Value
Version
The version the delete is authorised against.
public readonly long Version