Files
OldThink/Content.Shared/Pinpointer/NavMapBeaconComponent.cs

24 lines
659 B
C#
Raw Normal View History

2023-09-16 18:11:47 +10:00
namespace Content.Shared.Pinpointer;
/// <summary>
/// Will show a marker on a NavMap.
/// </summary>
[RegisterComponent, Access(typeof(SharedNavMapSystem))]
2023-09-16 18:11:47 +10:00
public sealed partial class NavMapBeaconComponent : Component
{
/// <summary>
/// Defaults to entity name if nothing found.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField]
2023-09-16 18:11:47 +10:00
public string? Text;
[ViewVariables(VVAccess.ReadWrite), DataField]
2023-09-16 18:11:47 +10:00
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;
2023-09-16 18:11:47 +10:00
}