Files
tbd-station-14/Content.Shared/Inventory/Events/InventoryEquipActEvent.cs
2023-09-11 09:42:41 +10:00

26 lines
722 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Inventory.Events;
/// <summary>
/// This event is used to tell the server-inventorysystem someone wants to equip something
/// </summary>
[NetSerializable, Serializable]
public sealed class InventoryEquipActEvent : EntityEventArgs
{
public readonly NetEntity Uid;
public readonly NetEntity ItemUid;
public readonly string Slot;
public readonly bool Silent;
public readonly bool Force;
public InventoryEquipActEvent(NetEntity uid, NetEntity itemUid, string slot, bool silent = false, bool force = false)
{
Uid = uid;
ItemUid = itemUid;
Slot = slot;
Silent = silent;
Force = force;
}
}