Files
ss14-wl/Content.Server/Shuttles/Components/IFFConsoleComponent.cs
EchoOfNothing ee2f1da8c2 Merge IFF controls into one control. Make syndicate IFF turned off by default. (#42104)
* Merge IFF controls into one control.

* Implement logic to hide IFF of sydicate IFF console on map load. Add hideOnInit property to IFFConsoleComponent

* DataField

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
2025-12-27 14:18:45 +00:00

18 lines
507 B
C#

using Content.Server.Shuttles.Systems;
using Content.Shared.Shuttles.Components;
namespace Content.Server.Shuttles.Components;
[RegisterComponent, Access(typeof(ShuttleSystem))]
public sealed partial class IFFConsoleComponent : Component
{
/// <summary>
/// Flags that this console is allowed to set.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("allowedFlags")]
public IFFFlags AllowedFlags = IFFFlags.HideLabel;
[DataField]
public bool HideOnInit = false;
}