Station beacons (#23136)

* Station beacons

* crate

* remove navmap from warp points

* ack

* oh damn

* okay emisser
This commit is contained in:
Nemanja
2023-12-28 19:02:21 -05:00
committed by GitHub
parent aa8861ab00
commit 99d78c4b97
18 changed files with 899 additions and 103 deletions

View File

@@ -0,0 +1,41 @@
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
}