mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-15 03:31:38 +01:00
* 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>
18 lines
507 B
C#
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;
|
|
}
|