| 123456789101112131415161718192021 |
- using Robust.Shared.GameStates;
- namespace Content.Shared.Interaction.Components;
- /// <summary>
- /// Relays an entities interactions to another entity.
- /// This doesn't raise the same events, but just relays
- /// the clicks of the mouse.
- ///
- /// Note that extreme caution should be taken when using this, as this will probably bypass many normal can-interact checks.
- /// </summary>
- [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
- [Access(typeof(SharedInteractionSystem))]
- public sealed partial class InteractionRelayComponent : Component
- {
- /// <summary>
- /// The entity the interactions are being relayed to.
- /// </summary>
- [ViewVariables, AutoNetworkedField]
- public EntityUid? RelayEntity;
- }
|