public Inventory(InventoryId id) { Id = id; Slots = new ItemSlot[(int)(id.Type switch
public InventorySlotId(InventoryId id, ItemSlotId slot) : this(id.Type, id.Id, slot) { }
public InventorySlotId(InventoryType type, ushort id, ItemSlotId slot) { Id = new InventoryId(type, id); Slot = slot; }
public InventorySlotId(AssetId id, ItemSlotId slot) { Id = new InventoryId(id); Slot = slot; }
public InventorySlotId(InventoryId id, ItemSlotId slot) { Id = id; Slot = slot; }