27 lines
715 B
C#
27 lines
715 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Inventory.Events;
|
|
|
|
[NetSerializable, Serializable]
|
|
public class TryEquipNetworkMessage : EntityEventArgs
|
|
{
|
|
public readonly EntityUid Actor;
|
|
public readonly EntityUid Target;
|
|
public readonly EntityUid ItemUid;
|
|
public readonly string Slot;
|
|
public readonly bool Silent;
|
|
public readonly bool Force;
|
|
|
|
public TryEquipNetworkMessage(EntityUid actor, EntityUid target, EntityUid itemUid, string slot, bool silent, bool force)
|
|
{
|
|
Actor = actor;
|
|
Target = target;
|
|
ItemUid = itemUid;
|
|
Slot = slot;
|
|
Silent = silent;
|
|
Force = force;
|
|
}
|
|
}
|