2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Warps
|
2020-05-24 14:31:57 +02:00
|
|
|
{
|
2022-02-01 17:15:58 +11:00
|
|
|
/// <summary>
|
|
|
|
|
/// Allows ghosts etc to warp to this entity by name.
|
|
|
|
|
/// </summary>
|
2022-02-08 00:42:49 -08:00
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class WarpPointComponent : Component
|
2020-05-24 14:31:57 +02:00
|
|
|
{
|
2023-10-16 16:39:39 +11:00
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField]
|
|
|
|
|
public string? Location;
|
2022-09-06 17:36:52 +12:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If true, ghosts warping to this entity will begin following it.
|
|
|
|
|
/// </summary>
|
2023-10-16 16:39:39 +11:00
|
|
|
[DataField]
|
|
|
|
|
public bool Follow;
|
2020-05-24 14:31:57 +02:00
|
|
|
}
|
|
|
|
|
}
|