18 lines
527 B
C#
18 lines
527 B
C#
namespace Content.Server.Warps
|
|
{
|
|
/// <summary>
|
|
/// Allows ghosts etc to warp to this entity by name.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial 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 bool Follow = false;
|
|
}
|
|
}
|