using Robust.Shared.Prototypes; namespace Content.Shared.Actions.Events; /// /// Adds / removes the component upon action. /// [Virtual] public partial class ActionComponentChangeEvent : InstantActionEvent { [DataField(required: true)] public ComponentRegistry Components = new(); } /// /// Similar to except raises an event to attempt to relay it. /// public sealed partial class RelayedActionComponentChangeEvent : ActionComponentChangeEvent { } [ByRefEvent] public record struct AttemptRelayActionComponentChangeEvent { public EntityUid? Target; }