Files
tbd-station-14/Content.Shared/Pinpointer/NavMapBeaconComponent.cs
2023-09-23 11:15:05 -08:00

26 lines
692 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Pinpointer;
/// <summary>
/// Will show a marker on a NavMap.
/// </summary>
[RegisterComponent, Access(typeof(SharedNavMapSystem))]
public sealed partial class NavMapBeaconComponent : Component
{
/// <summary>
/// Defaults to entity name if nothing found.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField]
public string? Text;
[ViewVariables(VVAccess.ReadWrite), DataField]
public Color Color = Color.Orange;
/// <summary>
/// Only enabled beacons can be seen on a station map.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField]
public bool Enabled = true;
}