Files
tbd-station-14/Content.Shared/Pinpointer/ConfigurableNavMapBeaconComponent.cs
Kyle Tyo 7de5002123 Predict Nav Beacon Examine (#39408)
* commit

* Update Content.Shared/Pinpointer/SharedNavMapSystem.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-08-05 23:20:43 +02:00

39 lines
911 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Pinpointer;
/// <summary>
/// This is used for a <see cref="NavMapBeaconComponent"/> that can be configured with a UI.
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(SharedNavMapSystem))]
public sealed partial class ConfigurableNavMapBeaconComponent : Component;
[Serializable, NetSerializable]
public sealed class NavMapBeaconConfigureBuiMessage : BoundUserInterfaceMessage
{
public string? Text;
public bool Enabled;
public Color Color;
public NavMapBeaconConfigureBuiMessage(string? text, bool enabled, Color color)
{
Text = text;
Enabled = enabled;
Color = color;
}
}
[Serializable, NetSerializable]
public enum NavMapBeaconUiKey : byte
{
Key,
}
[Serializable, NetSerializable]
public enum NavMapBeaconVisuals : byte
{
Enabled,
}