Struct CharacterItemIdAssignment
- Namespace
- FishMMO.Database.Npgsql.Services.Interfaces
- Assembly
- FishMMO-DB.dll
One row a snapshot assigned an identity to, so the caller can write it back onto the runtime item.
public readonly struct CharacterItemIdAssignment
- Inherited Members
Remarks
Matched on Container and Slot rather than on the id, because the id is precisely the thing the caller did not know when it built the row.
Constructors
CharacterItemIdAssignment(ItemContainerType, int, long)
public CharacterItemIdAssignment(ItemContainerType container, int slot, long id)
Parameters
containerItemContainerTypeslotintidlong
Fields
Container
The container the row was written to.
public readonly ItemContainerType Container
Field Value
ID
The identity the database assigned.
public readonly long ID
Field Value
Slot
The slot the row was written to.
public readonly int Slot