using Content.Shared.Targeting; using Robust.Shared.Serialization; namespace Content.Shared.Targeting.Events; [Serializable, NetSerializable] public sealed class TargetChangeEvent : EntityEventArgs { public NetEntity Uid { get; } public TargetBodyPart BodyPart { get; } public TargetChangeEvent(NetEntity uid, TargetBodyPart bodyPart) { Uid = uid; BodyPart = bodyPart; } } [Serializable, NetSerializable] public sealed class TargetIntegrityChangeEvent : EntityEventArgs { public NetEntity Uid { get; } public bool RefreshUi { get; } public TargetIntegrityChangeEvent(NetEntity uid, bool refreshUi = true) { Uid = uid; RefreshUi = refreshUi; } } public sealed class RefreshInventorySlotsEvent : EntityEventArgs { public string SlotName { get; } public RefreshInventorySlotsEvent(string slotName) { SlotName = slotName; } }