2023-09-16 18:11:47 +10:00
|
|
|
namespace Content.Shared.Pinpointer;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Will show a marker on a NavMap.
|
|
|
|
|
/// </summary>
|
2023-09-23 20:15:05 +01:00
|
|
|
[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>
|
2023-09-23 20:15:05 +01:00
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField]
|
2023-09-16 18:11:47 +10:00
|
|
|
public string? Text;
|
|
|
|
|
|
2023-09-23 20:15:05 +01:00
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField]
|
2023-09-16 18:11:47 +10:00
|
|
|
public Color Color = Color.Orange;
|
2023-09-23 20:15:05 +01:00
|
|
|
|
|
|
|
|
/// <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
|
|
|
}
|