2023-01-02 19:58:25 -06:00
|
|
|
|
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>
|
2023-09-28 16:20:29 -07:00
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class PortalTimeoutComponent : Component
|
2023-01-02 19:58:25 -06:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The portal that was entered. Null if coming from a hand teleporter, etc.
|
|
|
|
|
|
/// </summary>
|
2023-09-28 16:20:29 -07:00
|
|
|
|
[ViewVariables, DataField, AutoNetworkedField]
|
|
|
|
|
|
public EntityUid? EnteredPortal;
|
2023-01-02 19:58:25 -06:00
|
|
|
|
}
|