* Reapply "Remove some BUI boilerplate" (#30214)
This reverts commit cb0ba66be3.
* Fix gas tank
* Fix PA
* Fix microwave
* Comms console underwrap
* Fix rcd
* log wehs
This commit is contained in:
@@ -22,7 +22,7 @@ public sealed partial class GatewayWindow : FancyWindow,
|
||||
public event Action<NetEntity>? OpenPortal;
|
||||
private List<GatewayDestinationData> _destinations = new();
|
||||
|
||||
public readonly NetEntity Owner;
|
||||
public NetEntity Owner;
|
||||
|
||||
private NetEntity? _current;
|
||||
private TimeSpan _nextReady;
|
||||
@@ -46,16 +46,20 @@ public sealed partial class GatewayWindow : FancyWindow,
|
||||
/// </summary>
|
||||
private bool _isCooldownPending = true;
|
||||
|
||||
public GatewayWindow(NetEntity netEntity)
|
||||
public GatewayWindow()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
var dependencies = IoCManager.Instance!;
|
||||
_timing = dependencies.Resolve<IGameTiming>();
|
||||
Owner = netEntity;
|
||||
|
||||
NextUnlockBar.ForegroundStyleBoxOverride = new StyleBoxFlat(Color.FromHex("#C74EBD"));
|
||||
}
|
||||
|
||||
public void SetEntity(NetEntity entity)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void UpdateState(GatewayBoundUserInterfaceState state)
|
||||
{
|
||||
_destinations = state.Destinations;
|
||||
|
||||
Reference in New Issue
Block a user