21 lines
No EOL
653 B
C#
21 lines
No EOL
653 B
C#
using WingsEmu.Game._packetHandling;
|
|
|
|
namespace WingsEmu.Game.Inventory.Event;
|
|
|
|
public class InventoryRemoveItemEvent : PlayerEvent
|
|
{
|
|
public InventoryRemoveItemEvent(int itemVnum, short amount = 1, bool isEquipped = false, InventoryItem inventoryItem = null, bool sendPackets = true)
|
|
{
|
|
ItemVnum = itemVnum;
|
|
Amount = amount;
|
|
IsEquipped = isEquipped;
|
|
InventoryItem = inventoryItem;
|
|
SendPackets = sendPackets;
|
|
}
|
|
|
|
public int ItemVnum { get; }
|
|
public short Amount { get; }
|
|
public bool IsEquipped { get; }
|
|
public InventoryItem InventoryItem { get; }
|
|
public bool SendPackets { get; }
|
|
} |