Esempio n. 1
0
 public InventorySlotId(InventoryType type, ushort id, ItemSlotId slot)
 {
     Type = type;
     Id   = id;
     Slot = slot;
 }
Esempio n. 2
0
 public SetInventoryItemInHandEvent(IHoldable itemInHand, PartyCharacterId id, ItemSlotId slotId)
 {
     ItemInHand = itemInHand;
     Id         = id;
     SlotId     = slotId;
 }
Esempio n. 3
0
 public InventorySlotId(InventoryId id, ItemSlotId slot) : this(id.Type, id.Id, slot)
 {
 }
Esempio n. 4
0
 public InventoryPickupEvent(ushort?amount, InventoryType sourceType, ushort sourceId, ItemSlotId slotId)
     : base(sourceType, sourceId, slotId) => Amount = amount;
Esempio n. 5
0
 public InventoryPickupItemEvent(PartyCharacterId memberId, ItemSlotId slotId, int?quantity = null)
 {
     MemberId = memberId;
     SlotId   = slotId;
     Quantity = quantity;
 }
Esempio n. 6
0
 public InventorySlotId(InventoryType type, ushort id, ItemSlotId slot)
 {
     Id   = new InventoryId(type, id);
     Slot = slot;
 }
Esempio n. 7
0
 protected InventorySlotEvent(InventoryId id, ItemSlotId slotId)
 {
     Id     = id;
     SlotId = slotId;
 }
Esempio n. 8
0
 public InventorySellEvent(InventoryId inventoryId, ItemSlotId slotId)
     : base(inventoryId, slotId)
 {
 }
Esempio n. 9
0
 protected InventorySlotEvent(InventoryType inventoryType, ushort inventoryId, ItemSlotId slotId)
 {
     InventoryType = inventoryType;
     InventoryId   = inventoryId;
     SlotId        = slotId;
 }
Esempio n. 10
0
 public SetInventorySlotUiPositionEvent(InventoryType inventoryType, ushort id, ItemSlotId slot, int x, int y)
 {
     InventoryType = inventoryType;
     Id            = id;
     Slot          = slot;
     X             = x;
     Y             = y;
 }
Esempio n. 11
0
 public InventoryDiscardEvent(float normX, float normY, InventoryType inventoryType, ushort id, ItemSlotId slotId)
     : base(inventoryType, id, slotId)
 {
     NormX = normX;
     NormY = normY;
 }
Esempio n. 12
0
 public ItemSlot GetSlot(ItemSlotId itemSlotId) => _b().GetSlot(itemSlotId);
Esempio n. 13
0
 internal static PersistedItemSlotId ToPersisted(this ItemSlotId id) =>
 id switch
 {
Esempio n. 14
0
 public InventorySlotId(AssetId id, ItemSlotId slot)
 {
     Id   = new InventoryId(id);
     Slot = slot;
 }
Esempio n. 15
0
 public InventorySwapEvent(InventoryId sourceId, ItemSlotId slotId)
     : base(sourceId, slotId)
 {
 }
Esempio n. 16
0
 public InventoryDiscardEvent(float normX, float normY, InventoryId inventoryId, ItemSlotId slotId)
     : base(inventoryId, slotId)
 {
     NormX = normX;
     NormY = normY;
 }
Esempio n. 17
0
 public IReadOnlyItemSlot GetSlot(ItemSlotId itemSlotId) => _b().GetSlot(itemSlotId);
Esempio n. 18
0
 public InventorySlotId(InventoryId id, ItemSlotId slot)
 {
     Id   = id;
     Slot = slot;
 }