Files
tbd-station-14/Content.Shared/Pinpointer/NavMapBeaconComponent.cs
2023-09-16 18:11:47 +10:00

20 lines
581 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Pinpointer;
/// <summary>
/// Will show a marker on a NavMap.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class NavMapBeaconComponent : Component
{
/// <summary>
/// Defaults to entity name if nothing found.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("text"), AutoNetworkedField]
public string? Text;
[ViewVariables(VVAccess.ReadWrite), DataField("color"), AutoNetworkedField]
public Color Color = Color.Orange;
}