server-master/srcs/WingsAPI.Game/Inventory/Event/InventoryMoveItemEvent.cs
2026-02-10 18:21:30 +01:00

24 lines
No EOL
794 B
C#

using WingsEmu.Game._packetHandling;
using WingsEmu.Packets.Enums;
namespace WingsEmu.Game.Inventory.Event;
public class InventoryMoveItemEvent : PlayerEvent
{
public InventoryMoveItemEvent(InventoryType inventoryType, short slot, short amount, short destinationSlot, InventoryType destinationType, bool sendPackets = true)
{
InventoryType = inventoryType;
Slot = slot;
Amount = amount;
DestinationSlot = destinationSlot;
DestinationType = destinationType;
SendPackets = sendPackets;
}
public InventoryType InventoryType { get; }
public short Slot { get; }
public short Amount { get; }
public short DestinationSlot { get; }
public InventoryType DestinationType { get; }
public bool SendPackets { get; }
}