26 lines
692 B
C#
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;
|
|
}
|