示例#1
0
 public Inventory(InventoryId id)
 {
     Id    = id;
     Slots = new ItemSlot[(int)(id.Type switch
示例#2
0
 public InventorySlotId(InventoryId id, ItemSlotId slot) : this(id.Type, id.Id, slot)
 {
 }
示例#3
0
 public InventorySlotId(InventoryType type, ushort id, ItemSlotId slot)
 {
     Id   = new InventoryId(type, id);
     Slot = slot;
 }
示例#4
0
 public InventorySlotId(AssetId id, ItemSlotId slot)
 {
     Id   = new InventoryId(id);
     Slot = slot;
 }
示例#5
0
 public InventorySlotId(InventoryId id, ItemSlotId slot)
 {
     Id   = id;
     Slot = slot;
 }