19 lines
491 B
C#
19 lines
491 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]
|
|
public string? Location;
|
|
|
|
/// <summary>
|
|
/// If true, ghosts warping to this entity will begin following it.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool Follow;
|
|
}
|
|
}
|