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