WarpPointComponent.cs 491 B

123456789101112131415161718
  1. namespace Content.Server.Warps
  2. {
  3. /// <summary>
  4. /// Allows ghosts etc to warp to this entity by name.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class WarpPointComponent : Component
  8. {
  9. [ViewVariables(VVAccess.ReadWrite), DataField]
  10. public string? Location;
  11. /// <summary>
  12. /// If true, ghosts warping to this entity will begin following it.
  13. /// </summary>
  14. [DataField]
  15. public bool Follow;
  16. }
  17. }