PortalTimeoutComponent.cs 603 B

1234567891011121314151617
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Teleportation.Components;
  3. /// <summary>
  4. /// Attached to an entity after portal transit to mark that they should not immediately be portaled back
  5. /// at the end destination.
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  8. public sealed partial class PortalTimeoutComponent : Component
  9. {
  10. /// <summary>
  11. /// The portal that was entered. Null if coming from a hand teleporter, etc.
  12. /// </summary>
  13. [ViewVariables, DataField, AutoNetworkedField]
  14. public EntityUid? EnteredPortal;
  15. }