Files
tbd-station-14/Content.Server/Warps/WarpPointComponent.cs
2022-09-05 22:36:52 -07:00

18 lines
528 B
C#

namespace Content.Server.Warps
{
/// <summary>
/// Allows ghosts etc to warp to this entity by name.
/// </summary>
[RegisterComponent]
public sealed class WarpPointComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)] [DataField("location")] public string? Location { get; set; }
/// <summary>
/// If true, ghosts warping to this entity will begin following it.
/// </summary>
[DataField("follow")]
public readonly bool Follow = false;
}
}