mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
17 lines
600 B
C#
17 lines
600 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Teleportation.Components;
|
|
|
|
/// <summary>
|
|
/// Attached to an entity after portal transit to mark that they should not immediately be portaled back
|
|
/// at the end destination.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class PortalTimeoutComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The portal that was entered. Null if coming from a hand teleporter, etc.
|
|
/// </summary>
|
|
[ViewVariables, DataField, AutoNetworkedField]
|
|
public EntityUid? EnteredPortal;
|
|
}
|