Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using BenchmarkDotNet.Attributes;
|
using BenchmarkDotNet.Attributes;
|
||||||
using Robust.Shared.Maths;
|
using Robust.Shared.Maths;
|
||||||
using Robust.Shared.Physics;
|
using Robust.Shared.Physics;
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ namespace Content.Benchmarks
|
|||||||
[SimpleJob, MemoryDiagnoser]
|
[SimpleJob, MemoryDiagnoser]
|
||||||
public class DynamicTreeBenchmark
|
public class DynamicTreeBenchmark
|
||||||
{
|
{
|
||||||
private static readonly Box2[] aabbs1 =
|
private static readonly Box2[] _aabbs1 =
|
||||||
{
|
{
|
||||||
((Box2) default).Enlarged(1), //2x2 square
|
((Box2) default).Enlarged(1), //2x2 square
|
||||||
((Box2) default).Enlarged(2), //4x4 square
|
((Box2) default).Enlarged(2), //4x4 square
|
||||||
@@ -37,11 +37,11 @@ namespace Content.Benchmarks
|
|||||||
public void Setup()
|
public void Setup()
|
||||||
{
|
{
|
||||||
_b2Tree = new B2DynamicTree<int>();
|
_b2Tree = new B2DynamicTree<int>();
|
||||||
_tree = new DynamicTree<int>((in int value) => aabbs1[value], capacity: 16);
|
_tree = new DynamicTree<int>((in int value) => _aabbs1[value], capacity: 16);
|
||||||
|
|
||||||
for (var i = 0; i < aabbs1.Length; i++)
|
for (var i = 0; i < _aabbs1.Length; i++)
|
||||||
{
|
{
|
||||||
var aabb = aabbs1[i];
|
var aabb = _aabbs1[i];
|
||||||
_b2Tree.CreateProxy(aabb, i);
|
_b2Tree.CreateProxy(aabb, i);
|
||||||
_tree.Add(i);
|
_tree.Add(i);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Shared.AI;
|
using Content.Shared.AI;
|
||||||
@@ -18,7 +18,6 @@ namespace Content.Client.AI
|
|||||||
#if DEBUG
|
#if DEBUG
|
||||||
public class ClientPathfindingDebugSystem : EntitySystem
|
public class ClientPathfindingDebugSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IOverlayManager _overlayManager = default!;
|
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
[Dependency] private readonly IEyeManager _eyeManager = default!;
|
[Dependency] private readonly IEyeManager _eyeManager = default!;
|
||||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'ame-window-title'}"
|
Title="{Loc 'ame-window-title'}"
|
||||||
MinSize="250 250">
|
MinSize="250 250">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
@@ -43,4 +43,4 @@
|
|||||||
<Label Name="CoreCount" Text="0" />
|
<Label Name="CoreCount" Text="0" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using static Content.Shared.AME.SharedAMEControllerComponent;
|
|||||||
namespace Content.Client.AME.UI
|
namespace Content.Client.AME.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AMEWindow : SS14Window
|
public partial class AMEWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public AMEWindow(AMEControllerBoundUserInterface ui)
|
public AMEWindow(AMEControllerBoundUserInterface ui)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
MinSize="650 290">
|
MinSize="650 290">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<GridContainer Columns="3">
|
<GridContainer Columns="3">
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
|
|
||||||
</GridContainer>
|
</GridContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using static Content.Shared.Access.Components.SharedIdCardConsoleComponent;
|
|||||||
namespace Content.Client.Access.UI
|
namespace Content.Client.Access.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class IdCardConsoleWindow : SS14Window
|
public partial class IdCardConsoleWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly IdCardConsoleBoundUserInterface _owner;
|
private readonly IdCardConsoleBoundUserInterface _owner;
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace Content.Client.Actions.UI
|
|||||||
/// Action selection menu, allows filtering and searching over all possible
|
/// Action selection menu, allows filtering and searching over all possible
|
||||||
/// actions and populating those actions into the hotbar.
|
/// actions and populating those actions into the hotbar.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ActionMenu : SS14Window
|
public class ActionMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
private const string ItemTag = "item";
|
private const string ItemTag = "item";
|
||||||
private const string NotItemTag = "not item";
|
private const string NotItemTag = "not item";
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ namespace Content.Client.Verbs
|
|||||||
class AdminVerbSystem : EntitySystem
|
class AdminVerbSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IClientConGroupController _clientConGroupController = default!;
|
[Dependency] private readonly IClientConGroupController _clientConGroupController = default!;
|
||||||
[Dependency] private readonly IViewVariablesManager _viewVariablesManager = default!;
|
|
||||||
[Dependency] private readonly IClientConsoleHost _clientConsoleHost = default!;
|
[Dependency] private readonly IClientConsoleHost _clientConsoleHost = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'admin-announce-title'}"
|
Title="{Loc 'admin-announce-title'}"
|
||||||
MinWidth="500">
|
MinWidth="500">
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
|
|
||||||
<Button Name="AnnounceButton" Access="Public" Disabled="True" Text="{Loc 'Announce'}" HorizontalAlignment="Center"/>
|
<Button Name="AnnounceButton" Access="Public" Disabled="True" Text="{Loc 'Announce'}" HorizontalAlignment="Center"/>
|
||||||
</GridContainer>
|
</GridContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.Administration.UI
|
namespace Content.Client.Administration.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AdminAnnounceWindow : SS14Window
|
public partial class AdminAnnounceWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly ILocalizationManager _localization = default!;
|
[Dependency] private readonly ILocalizationManager _localization = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
xmlns:adminTab="clr-namespace:Content.Client.Administration.UI.Tabs.AdminTab"
|
xmlns:adminTab="clr-namespace:Content.Client.Administration.UI.Tabs.AdminTab"
|
||||||
xmlns:adminbusTab="clr-namespace:Content.Client.Administration.UI.Tabs.AdminbusTab"
|
xmlns:adminbusTab="clr-namespace:Content.Client.Administration.UI.Tabs.AdminbusTab"
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
<tabs:ServerTab />
|
<tabs:ServerTab />
|
||||||
<playerTab:PlayerTab Name="PlayerTabControl" Access="Public" />
|
<playerTab:PlayerTab Name="PlayerTabControl" Access="Public" />
|
||||||
</TabContainer>
|
</TabContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.Administration.UI
|
namespace Content.Client.Administration.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AdminMenuWindow : SS14Window
|
public partial class AdminMenuWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IGameHud? _gameHud = default!;
|
[Dependency] private readonly IGameHud? _gameHud = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -7,13 +7,13 @@ namespace Content.Client.Administration.UI.CustomControls
|
|||||||
public class UICommandButton : CommandButton
|
public class UICommandButton : CommandButton
|
||||||
{
|
{
|
||||||
public Type? WindowType { get; set; }
|
public Type? WindowType { get; set; }
|
||||||
private SS14Window? _window;
|
private DefaultWindow? _window;
|
||||||
|
|
||||||
protected override void Execute(ButtonEventArgs obj)
|
protected override void Execute(ButtonEventArgs obj)
|
||||||
{
|
{
|
||||||
if (WindowType == null)
|
if (WindowType == null)
|
||||||
return;
|
return;
|
||||||
_window = (SS14Window) IoCManager.Resolve<IDynamicTypeFactory>().CreateInstance(WindowType);
|
_window = (DefaultWindow) IoCManager.Resolve<IDynamicTypeFactory>().CreateInstance(WindowType);
|
||||||
_window?.OpenCentered();
|
_window?.OpenCentered();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:logs="clr-namespace:Content.Client.Administration.UI.Logs"
|
xmlns:logs="clr-namespace:Content.Client.Administration.UI.Logs"
|
||||||
Title="{Loc admin-logs-title}"
|
Title="{Loc admin-logs-title}"
|
||||||
MinWidth="1000"
|
MinWidth="1000"
|
||||||
MinHeight="400">
|
MinHeight="400">
|
||||||
<logs:AdminLogsControl Name="Logs" Access="Public"/>
|
<logs:AdminLogsControl Name="Logs" Access="Public"/>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Client.UserInterface.XAML;
|
|||||||
namespace Content.Client.Administration.UI.Logs;
|
namespace Content.Client.Administration.UI.Logs;
|
||||||
|
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AdminLogsWindow : SS14Window
|
public partial class AdminLogsWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public AdminLogsWindow()
|
public AdminLogsWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
SetSize="250 300"
|
SetSize="250 300"
|
||||||
Margin="4 0"
|
Margin="4 0"
|
||||||
xmlns="https://spacestation14.io">
|
xmlns="https://spacestation14.io">
|
||||||
@@ -10,4 +10,4 @@
|
|||||||
<ItemList Name="ReagentList" SelectMode="Single" VerticalExpand="True" Margin ="0 4"/>
|
<ItemList Name="ReagentList" SelectMode="Single" VerticalExpand="True" Margin ="0 4"/>
|
||||||
<Button Name="AddButton" HorizontalExpand="True" Margin ="0 4" />
|
<Button Name="AddButton" HorizontalExpand="True" Margin ="0 4" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.Administration.UI.ManageSolutions
|
|||||||
/// cref="EditSolutionsWindow"/>
|
/// cref="EditSolutionsWindow"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class AddReagentWindow : SS14Window
|
public sealed partial class AddReagentWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
SetSize="300 300"
|
SetSize="300 300"
|
||||||
Margin="4 0"
|
Margin="4 0"
|
||||||
xmlns="https://spacestation14.io">
|
xmlns="https://spacestation14.io">
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
</ScrollContainer>
|
</ScrollContainer>
|
||||||
<Button Name="AddButton" Text="{Loc 'admin-solutions-window-add-new-button'}" HorizontalExpand="True" Margin="0 4"/>
|
<Button Name="AddButton" Text="{Loc 'admin-solutions-window-add-new-button'}" HorizontalExpand="True" Margin="0 4"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace Content.Client.Administration.UI.ManageSolutions
|
|||||||
/// A simple window that displays solutions and their contained reagents. Allows you to edit the reagent quantities and add new reagents.
|
/// A simple window that displays solutions and their contained reagents. Allows you to edit the reagent quantities and add new reagents.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class EditSolutionsWindow : SS14Window
|
public sealed partial class EditSolutionsWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
||||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace Content.Client.Administration.UI
|
|||||||
[Dependency] private readonly IClientAdminManager _adminManager = default!;
|
[Dependency] private readonly IClientAdminManager _adminManager = default!;
|
||||||
|
|
||||||
private readonly Menu _menu;
|
private readonly Menu _menu;
|
||||||
private readonly List<SS14Window> _subWindows = new();
|
private readonly List<DefaultWindow> _subWindows = new();
|
||||||
|
|
||||||
private Dictionary<int, PermissionsEuiState.AdminRankData> _ranks =
|
private Dictionary<int, PermissionsEuiState.AdminRankData> _ranks =
|
||||||
new();
|
new();
|
||||||
@@ -289,7 +289,7 @@ namespace Content.Client.Administration.UI
|
|||||||
OpenRankEditWindow(rank);
|
OpenRankEditWindow(rank);
|
||||||
}
|
}
|
||||||
|
|
||||||
private sealed class Menu : SS14Window
|
private sealed class Menu : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly PermissionsEui _ui;
|
private readonly PermissionsEui _ui;
|
||||||
public readonly GridContainer AdminsList;
|
public readonly GridContainer AdminsList;
|
||||||
@@ -341,7 +341,7 @@ namespace Content.Client.Administration.UI
|
|||||||
protected override Vector2 ContentsMinimumSize => (600, 400);
|
protected override Vector2 ContentsMinimumSize => (600, 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
private sealed class EditAdminWindow : SS14Window
|
private sealed class EditAdminWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public readonly PermissionsEuiState.AdminData? SourceData;
|
public readonly PermissionsEuiState.AdminData? SourceData;
|
||||||
public readonly LineEdit? NameEdit;
|
public readonly LineEdit? NameEdit;
|
||||||
@@ -522,7 +522,7 @@ namespace Content.Client.Administration.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private sealed class EditAdminRankWindow : SS14Window
|
private sealed class EditAdminRankWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public readonly int? SourceId;
|
public readonly int? SourceId;
|
||||||
public readonly LineEdit NameEdit;
|
public readonly LineEdit NameEdit;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io">
|
xmlns="https://spacestation14.io">
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.45">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.45">
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
<Button Name="ConfirmButton" HorizontalExpand="True" />
|
<Button Name="ConfirmButton" HorizontalExpand="True" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using Robust.Shared.Prototypes;
|
|||||||
namespace Content.Client.Administration.UI.SetOutfit
|
namespace Content.Client.Administration.UI.SetOutfit
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class SetOutfitMenu : SS14Window
|
public partial class SetOutfitMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
[Dependency] private readonly IClientConsoleHost _consoleHost = default!;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||||
Title="{Loc 'admin-shuttle-title'}"
|
Title="{Loc 'admin-shuttle-title'}"
|
||||||
MinWidth="300">
|
MinWidth="300">
|
||||||
@@ -11,4 +11,4 @@
|
|||||||
<cc:CommandButton Command="recallshuttle" Name="_recallShuttleButton" Text="{Loc 'communicationsconsole-menu-recall-shuttle'}" HorizontalAlignment="Center"/>
|
<cc:CommandButton Command="recallshuttle" Name="_recallShuttleButton" Text="{Loc 'communicationsconsole-menu-recall-shuttle'}" HorizontalAlignment="Center"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
|
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.Administration.UI.Tabs.AdminTab
|
namespace Content.Client.Administration.UI.Tabs.AdminTab
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AdminShuttleWindow : SS14Window
|
public partial class AdminShuttleWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public AdminShuttleWindow()
|
public AdminShuttleWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||||
Title="{Loc Ban}" MinSize="425 325">
|
Title="{Loc Ban}" MinSize="425 325">
|
||||||
@@ -26,4 +26,4 @@
|
|||||||
<Control MinWidth="50" />
|
<Control MinWidth="50" />
|
||||||
<Button Name="SubmitButton" Text="{Loc Ban}" />
|
<Button Name="SubmitButton" Text="{Loc Ban}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace Content.Client.Administration.UI.Tabs.AdminTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class BanWindow : SS14Window
|
public partial class BanWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public BanWindow()
|
public BanWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||||
Title="{Loc admin-player-actions-window-title}" MinSize="425 272">
|
Title="{Loc admin-player-actions-window-title}" MinSize="425 272">
|
||||||
@@ -15,4 +15,4 @@
|
|||||||
<Button Name="SubmitRespawnButton" Text="{Loc admin-player-actions-respawn}" Disabled="True"/>
|
<Button Name="SubmitRespawnButton" Text="{Loc admin-player-actions-respawn}" Disabled="True"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Content.Client.Administration.UI.Tabs.AdminTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class PlayerActionsWindow : SS14Window
|
public partial class PlayerActionsWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private PlayerInfo? _selectedPlayer;
|
private PlayerInfo? _selectedPlayer;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io"
|
xmlns="https://spacestation14.io"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||||
Title="{Loc Teleport}" MinSize="425 230">
|
Title="{Loc Teleport}" MinSize="425 230">
|
||||||
@@ -6,4 +6,4 @@
|
|||||||
<cc:PlayerListControl Name="PlayerList" />
|
<cc:PlayerListControl Name="PlayerList" />
|
||||||
<Button Name="SubmitButton" Text="{Loc Teleport}" />
|
<Button Name="SubmitButton" Text="{Loc Teleport}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Client.Administration.UI.Tabs.AdminTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class TeleportWindow : SS14Window
|
public partial class TeleportWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private PlayerInfo? _selectedPlayer;
|
private PlayerInfo? _selectedPlayer;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io" Title="{Loc Events}">
|
xmlns="https://spacestation14.io" Title="{Loc Events}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<BoxContainer Orientation="Horizontal">
|
<BoxContainer Orientation="Horizontal">
|
||||||
@@ -10,4 +10,4 @@
|
|||||||
<Button Name="ResumeButton" Text="{Loc Resume}" Disabled="True" />
|
<Button Name="ResumeButton" Text="{Loc Resume}" Disabled="True" />
|
||||||
<Button Name="SubmitButton" Text="{Loc Run}" Disabled="True" />
|
<Button Name="SubmitButton" Text="{Loc Run}" Disabled="True" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Content.Client.Administration.UI.Tabs.AdminbusTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class StationEventsWindow : SS14Window
|
public partial class StationEventsWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private List<string>? _data;
|
private List<string>? _data;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io" Title="{Loc Add Atmos}">
|
xmlns="https://spacestation14.io" Title="{Loc Add Atmos}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<BoxContainer Orientation="Horizontal">
|
<BoxContainer Orientation="Horizontal">
|
||||||
@@ -8,4 +8,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Button Name="SubmitButton" Text="{Loc Add Atmos}" />
|
<Button Name="SubmitButton" Text="{Loc Add Atmos}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Content.Client.Administration.UI.Tabs.AtmosTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class AddAtmosWindow : SS14Window
|
public partial class AddAtmosWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private IEnumerable<IMapGrid>? _data;
|
private IEnumerable<IMapGrid>? _data;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io" Title="{Loc Add Gas}">
|
xmlns="https://spacestation14.io" Title="{Loc Add Gas}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<BoxContainer Orientation="Horizontal">
|
<BoxContainer Orientation="Horizontal">
|
||||||
@@ -28,4 +28,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Button Name="SubmitButton" Text="{Loc Add Gas}" />
|
<Button Name="SubmitButton" Text="{Loc Add Gas}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.Administration.UI.Tabs.AtmosTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class AddGasWindow : SS14Window
|
public partial class AddGasWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private IEnumerable<IMapGrid>? _gridData;
|
private IEnumerable<IMapGrid>? _gridData;
|
||||||
private IEnumerable<GasPrototype>? _gasData;
|
private IEnumerable<GasPrototype>? _gasData;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io" Title="{Loc Fill Gas}">
|
xmlns="https://spacestation14.io" Title="{Loc Fill Gas}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<BoxContainer Orientation="Horizontal">
|
<BoxContainer Orientation="Horizontal">
|
||||||
@@ -18,4 +18,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Button Name="SubmitButton" Text="{Loc Fill Gas}" />
|
<Button Name="SubmitButton" Text="{Loc Fill Gas}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.Administration.UI.Tabs.AtmosTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class FillGasWindow : SS14Window
|
public partial class FillGasWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private IEnumerable<IMapGrid>? _gridData;
|
private IEnumerable<IMapGrid>? _gridData;
|
||||||
private IEnumerable<GasPrototype>? _gasData;
|
private IEnumerable<GasPrototype>? _gasData;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window
|
<DefaultWindow
|
||||||
xmlns="https://spacestation14.io" Title="{Loc Set Temperature}">
|
xmlns="https://spacestation14.io" Title="{Loc Set Temperature}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<BoxContainer Orientation="Horizontal">
|
<BoxContainer Orientation="Horizontal">
|
||||||
@@ -23,4 +23,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Button Name="SubmitButton" Text="{Loc Set Temperature}" />
|
<Button Name="SubmitButton" Text="{Loc Set Temperature}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Content.Client.Administration.UI.Tabs.AtmosTab
|
|||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public partial class SetTemperatureWindow : SS14Window
|
public partial class SetTemperatureWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private IEnumerable<IMapGrid>? _data;
|
private IEnumerable<IMapGrid>? _data;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
|
|
||||||
namespace Content.Client.Arcade
|
namespace Content.Client.Arcade
|
||||||
{
|
{
|
||||||
public class BlockGameMenu : SS14Window
|
public class BlockGameMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
private static readonly Color OverlayBackgroundColor = new(74,74,81,180);
|
private static readonly Color OverlayBackgroundColor = new(74,74,81,180);
|
||||||
private static readonly Color OverlayShadowColor = new(0,0,0,83);
|
private static readonly Color OverlayShadowColor = new(0,0,0,83);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Vector2 = Robust.Shared.Maths.Vector2;
|
|||||||
|
|
||||||
namespace Content.Client.Arcade
|
namespace Content.Client.Arcade
|
||||||
{
|
{
|
||||||
public class SpaceVillainArcadeMenu : SS14Window
|
public class SpaceVillainArcadeMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
public SpaceVillainArcadeBoundUserInterface Owner { get; set; }
|
public SpaceVillainArcadeBoundUserInterface Owner { get; set; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
MinSize="500 500" Title="Air Alarm">
|
MinSize="500 500" Title="Air Alarm">
|
||||||
<BoxContainer Orientation="Vertical" Margin="5 5 5 5">
|
<BoxContainer Orientation="Vertical" Margin="5 5 5 5">
|
||||||
@@ -72,4 +72,4 @@
|
|||||||
<OptionButton Name="CModeButton" HorizontalExpand="True" />
|
<OptionButton Name="CModeButton" HorizontalExpand="True" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.Atmos.Monitor.UI
|
namespace Content.Client.Atmos.Monitor.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class AirAlarmWindow : SS14Window
|
public partial class AirAlarmWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public event Action<string, IAtmosDeviceData>? AtmosDeviceDataChanged;
|
public event Action<string, IAtmosDeviceData>? AtmosDeviceDataChanged;
|
||||||
public event Action<AtmosMonitorThresholdType, AtmosAlarmThreshold, Gas?>? AtmosAlarmThresholdChanged;
|
public event Action<AtmosMonitorThresholdType, AtmosAlarmThreshold, Gas?>? AtmosAlarmThresholdChanged;
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
},
|
},
|
||||||
(CloseButton = new TextureButton
|
(CloseButton = new TextureButton
|
||||||
{
|
{
|
||||||
StyleClasses = {SS14Window.StyleClassWindowCloseButton},
|
StyleClasses = {DefaultWindow.StyleClassWindowCloseButton},
|
||||||
VerticalAlignment = VAlignment.Center
|
VerticalAlignment = VAlignment.Center
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
||||||
MinSize="480 400" Title="Canister">
|
MinSize="480 400" Title="Canister">
|
||||||
@@ -49,4 +49,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
/// Client-side UI used to control a canister.
|
/// Client-side UI used to control a canister.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GasCanisterWindow : SS14Window
|
public partial class GasCanisterWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly ButtonGroup _buttonGroup = new();
|
private readonly ButtonGroup _buttonGroup = new();
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
||||||
MinSize="480 400" Title="Filter">
|
MinSize="480 400" Title="Filter">
|
||||||
@@ -25,4 +25,4 @@
|
|||||||
<Button Name="SelectGasButton" Text="{Loc comp-gas-filter-ui-filter-gas-confirm}" HorizontalExpand="True" Disabled="True" />
|
<Button Name="SelectGasButton" Text="{Loc comp-gas-filter-ui-filter-gas-confirm}" HorizontalExpand="True" Disabled="True" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
/// Client-side UI used to control a gas filter.
|
/// Client-side UI used to control a gas filter.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GasFilterWindow : SS14Window
|
public partial class GasFilterWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly ButtonGroup _buttonGroup = new();
|
private readonly ButtonGroup _buttonGroup = new();
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
||||||
MinSize="200 200" Title="Gas Mixer">
|
MinSize="200 200" Title="Gas Mixer">
|
||||||
@@ -35,4 +35,4 @@
|
|||||||
<Button Name="SetMixerPercentageButton" Text="{Loc comp-gas-mixer-ui-mixer-set}" HorizontalAlignment="Right" Disabled="True"/>
|
<Button Name="SetMixerPercentageButton" Text="{Loc comp-gas-mixer-ui-mixer-set}" HorizontalAlignment="Right" Disabled="True"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
/// Client-side UI used to control a gas mixer.
|
/// Client-side UI used to control a gas mixer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GasMixerWindow : SS14Window
|
public partial class GasMixerWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public bool MixerStatus = true;
|
public bool MixerStatus = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
||||||
MinSize="200 120" Title="Pressure Pump">
|
MinSize="200 120" Title="Pressure Pump">
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
<Button Name="SetOutputPressureButton" Text="{Loc comp-gas-pump-ui-pump-set-rate}" HorizontalAlignment="Right" Disabled="True"/>
|
<Button Name="SetOutputPressureButton" Text="{Loc comp-gas-pump-ui-pump-set-rate}" HorizontalAlignment="Right" Disabled="True"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
/// Client-side UI used to control a gas pressure pump.
|
/// Client-side UI used to control a gas pressure pump.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GasPressurePumpWindow : SS14Window
|
public partial class GasPressurePumpWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public bool PumpStatus = true;
|
public bool PumpStatus = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
xmlns:s="clr-namespace:Content.Client.Stylesheets"
|
||||||
MinSize="200 120" Title="Volume Pump">
|
MinSize="200 120" Title="Volume Pump">
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
<Button Name="SetTransferRateButton" Text="{Loc comp-gas-pump-ui-pump-set-rate}" HorizontalAlignment="Right" Disabled="True"/>
|
<Button Name="SetTransferRateButton" Text="{Loc comp-gas-pump-ui-pump-set-rate}" HorizontalAlignment="Right" Disabled="True"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.Atmos.UI
|
|||||||
/// Client-side UI used to control a gas volume pump.
|
/// Client-side UI used to control a gas volume pump.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GasVolumePumpWindow : SS14Window
|
public partial class GasVolumePumpWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public bool PumpStatus = true;
|
public bool PumpStatus = true;
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using static Robust.Client.UserInterface.Controls.ItemList;
|
|||||||
|
|
||||||
namespace Content.Client.Body.UI
|
namespace Content.Client.Body.UI
|
||||||
{
|
{
|
||||||
public sealed class BodyScannerDisplay : SS14Window
|
public sealed class BodyScannerDisplay : DefaultWindow
|
||||||
{
|
{
|
||||||
private EntityUid? _currentEntity;
|
private EntityUid? _currentEntity;
|
||||||
private SharedBodyPartComponent? _currentBodyPart;
|
private SharedBodyPartComponent? _currentBodyPart;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||||
SetSize="400 600"
|
SetSize="400 600"
|
||||||
MinSize="400 600">
|
MinSize="400 600">
|
||||||
@@ -80,4 +80,4 @@
|
|||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
<TextureButton VerticalExpand="True" />
|
<TextureButton VerticalExpand="True" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
namespace Content.Client.Cargo.UI
|
namespace Content.Client.Cargo.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class CargoConsoleMenu : SS14Window
|
public partial class CargoConsoleMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
public CargoConsoleBoundUserInterface Owner { get; private set; }
|
public CargoConsoleBoundUserInterface Owner { get; private set; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'cargo-console-order-menu-title'}">
|
Title="{Loc 'cargo-console-order-menu-title'}">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
<GridContainer Columns="2">
|
<GridContainer Columns="2">
|
||||||
@@ -19,4 +19,4 @@
|
|||||||
Text="{Loc 'cargo-console-order-menu-submit-button'}"
|
Text="{Loc 'cargo-console-order-menu-submit-button'}"
|
||||||
TextAlign="Center" />
|
TextAlign="Center" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
|||||||
namespace Content.Client.Cargo.UI
|
namespace Content.Client.Cargo.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
partial class CargoConsoleOrderMenu : SS14Window
|
partial class CargoConsoleOrderMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
public CargoConsoleOrderMenu()
|
public CargoConsoleOrderMenu()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Localization;
|
|||||||
|
|
||||||
namespace Content.Client.Cargo.UI
|
namespace Content.Client.Cargo.UI
|
||||||
{
|
{
|
||||||
public class GalacticBankSelectionMenu : SS14Window
|
public class GalacticBankSelectionMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly ItemList _accounts;
|
private readonly ItemList _accounts;
|
||||||
private int _accountCount;
|
private int _accountCount;
|
||||||
|
|||||||
@@ -329,7 +329,7 @@ namespace Content.Client.CharacterAppearance
|
|||||||
// ColorSlider
|
// ColorSlider
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MagicMirrorWindow : SS14Window
|
public class MagicMirrorWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly HairStylePicker _hairStylePicker;
|
private readonly HairStylePicker _hairStylePicker;
|
||||||
private readonly HairStylePicker _facialHairStylePicker;
|
private readonly HairStylePicker _facialHairStylePicker;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ namespace Content.Client.CharacterInterface
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A window that collects and shows all the individual character user interfaces
|
/// A window that collects and shows all the individual character user interfaces
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class CharacterWindow : SS14Window
|
public class CharacterWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly List<ICharacterUI> _windowComponents;
|
private readonly List<ICharacterUI> _windowComponents;
|
||||||
|
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ namespace Content.Client.CharacterInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void _setOpenValue(SS14Window menu, bool value)
|
private void _setOpenValue(DefaultWindow menu, bool value)
|
||||||
{
|
{
|
||||||
_gameHud.CharacterButtonDown = value;
|
_gameHud.CharacterButtonDown = value;
|
||||||
if (value)
|
if (value)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||||
MinSize="400 525"
|
MinSize="400 525"
|
||||||
@@ -115,4 +115,4 @@
|
|||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace Content.Client.Chemistry.UI
|
|||||||
/// Client-side UI used to control a <see cref="SharedChemMasterComponent"/>
|
/// Client-side UI used to control a <see cref="SharedChemMasterComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class ChemMasterWindow : SS14Window
|
public partial class ChemMasterWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
public event Action<string>? OnLabelEntered;
|
public event Action<string>? OnLabelEntered;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
|
||||||
Title="{Loc 'reagent-dispenser-bound-user-interface-title'}"
|
Title="{Loc 'reagent-dispenser-bound-user-interface-title'}"
|
||||||
SetSize="590 450"
|
SetSize="590 450"
|
||||||
@@ -46,4 +46,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ namespace Content.Client.Chemistry.UI
|
|||||||
/// Client-side UI used to control a <see cref="SharedReagentDispenserComponent"/>
|
/// Client-side UI used to control a <see cref="SharedReagentDispenserComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class ReagentDispenserWindow : SS14Window
|
public partial class ReagentDispenserWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'ui-transfer-amount-title'}"
|
Title="{Loc 'ui-transfer-amount-title'}"
|
||||||
Resizable="False">
|
Resizable="False">
|
||||||
|
|
||||||
@@ -8,4 +8,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<Button Name="ApplyButton" Access="Public" Text="{Loc 'ui-transfer-amount-apply'}"/>
|
<Button Name="ApplyButton" Access="Public" Text="{Loc 'ui-transfer-amount-apply'}"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.XAML;
|
|||||||
namespace Content.Client.Chemistry.UI
|
namespace Content.Client.Chemistry.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class TransferAmountWindow : SS14Window
|
public partial class TransferAmountWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public TransferAmountWindow()
|
public TransferAmountWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
|
|
||||||
namespace Content.Client.Cloning.UI
|
namespace Content.Client.Cloning.UI
|
||||||
{
|
{
|
||||||
public sealed class AcceptCloningWindow : SS14Window
|
public sealed class AcceptCloningWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public readonly Button DenyButton;
|
public readonly Button DenyButton;
|
||||||
public readonly Button AcceptButton;
|
public readonly Button AcceptButton;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
|
|
||||||
namespace Content.Client.Cloning.UI
|
namespace Content.Client.Cloning.UI
|
||||||
{
|
{
|
||||||
public sealed class CloningPodWindow : SS14Window
|
public sealed class CloningPodWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private Dictionary<int, string?> _scanManager;
|
private Dictionary<int, string?> _scanManager;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Timer = Robust.Shared.Timing.Timer;
|
|||||||
|
|
||||||
namespace Content.Client.Communications.UI
|
namespace Content.Client.Communications.UI
|
||||||
{
|
{
|
||||||
public class CommunicationsConsoleMenu : SS14Window
|
public class CommunicationsConsoleMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
private CommunicationsConsoleBoundUserInterface Owner { get; set; }
|
private CommunicationsConsoleBoundUserInterface Owner { get; set; }
|
||||||
private readonly CancellationTokenSource _timerCancelTokenSource = new();
|
private readonly CancellationTokenSource _timerCancelTokenSource = new();
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
|
|
||||||
namespace Content.Client.Configurable.UI
|
namespace Content.Client.Configurable.UI
|
||||||
{
|
{
|
||||||
public class ConfigurationMenu : SS14Window
|
public class ConfigurationMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
public ConfigurationBoundUserInterface Owner { get; }
|
public ConfigurationBoundUserInterface Owner { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io">
|
<DefaultWindow xmlns="https://spacestation14.io">
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.4">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.4">
|
||||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||||
@@ -29,4 +29,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ namespace Content.Client.Construction.UI
|
|||||||
}
|
}
|
||||||
|
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class ConstructionMenu : SS14Window, IConstructionMenuView
|
public partial class ConstructionMenu : DefaultWindow, IConstructionMenuView
|
||||||
{
|
{
|
||||||
public bool BuildButtonPressed
|
public bool BuildButtonPressed
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'crayon-window-title'}"
|
Title="{Loc 'crayon-window-title'}"
|
||||||
MinSize="250 300"
|
MinSize="250 300"
|
||||||
SetSize="250 300">
|
SetSize="250 300">
|
||||||
@@ -10,4 +10,4 @@
|
|||||||
</GridContainer>
|
</GridContainer>
|
||||||
</ScrollContainer>
|
</ScrollContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using static Robust.Client.UserInterface.Controls.BaseButton;
|
|||||||
namespace Content.Client.Crayon.UI
|
namespace Content.Client.Crayon.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class CrayonWindow : SS14Window
|
public partial class CrayonWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public CrayonBoundUserInterface Owner { get; }
|
public CrayonBoundUserInterface Owner { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'credits-window-title'}"
|
Title="{Loc 'credits-window-title'}"
|
||||||
SetSize="650 650" >
|
SetSize="650 650" >
|
||||||
<TabContainer>
|
<TabContainer>
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</ScrollContainer>
|
</ScrollContainer>
|
||||||
</TabContainer>
|
</TabContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
|
|||||||
namespace Content.Client.Credits
|
namespace Content.Client.Credits
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public sealed partial class CreditsWindow : SS14Window
|
public sealed partial class CreditsWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly IResourceCache _resourceManager = default!;
|
[Dependency] private readonly IResourceCache _resourceManager = default!;
|
||||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'disposal-router-window-title'}"
|
Title="{Loc 'disposal-router-window-title'}"
|
||||||
MinSize="500 110"
|
MinSize="500 110"
|
||||||
SetSize="500 110">
|
SetSize="500 110">
|
||||||
@@ -17,4 +17,4 @@
|
|||||||
Text="{Loc 'disposal-router-window-tag-input-confirm-button'}" />
|
Text="{Loc 'disposal-router-window-tag-input-confirm-button'}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Client.Disposal.UI
|
|||||||
/// Client-side UI used to control a <see cref="SharedDisposalRouterComponent"/>
|
/// Client-side UI used to control a <see cref="SharedDisposalRouterComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class DisposalRouterWindow : SS14Window
|
public partial class DisposalRouterWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public DisposalRouterWindow()
|
public DisposalRouterWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'disposal-tagger-window-title'}"
|
Title="{Loc 'disposal-tagger-window-title'}"
|
||||||
MinSize="500 110"
|
MinSize="500 110"
|
||||||
SetSize="500 110">
|
SetSize="500 110">
|
||||||
@@ -16,4 +16,4 @@
|
|||||||
Text="{Loc 'disposal-tagger-window-tag-confirm-button'}" />
|
Text="{Loc 'disposal-tagger-window-tag-confirm-button'}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Client.Disposal.UI
|
|||||||
/// Client-side UI used to control a <see cref="SharedDisposalTaggerComponent"/>
|
/// Client-side UI used to control a <see cref="SharedDisposalTaggerComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class DisposalTaggerWindow : SS14Window
|
public partial class DisposalTaggerWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public DisposalTaggerWindow()
|
public DisposalTaggerWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
MinSize="300 140"
|
MinSize="300 140"
|
||||||
SetSize="300 140"
|
SetSize="300 140"
|
||||||
Resizable="False">
|
Resizable="False">
|
||||||
@@ -38,4 +38,4 @@
|
|||||||
StyleClasses="OpenLeft" />
|
StyleClasses="OpenLeft" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace Content.Client.Disposal.UI
|
|||||||
/// Client-side UI used to control a <see cref="SharedDisposalUnitComponent"/>
|
/// Client-side UI used to control a <see cref="SharedDisposalUnitComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class DisposalUnitWindow : SS14Window
|
public partial class DisposalUnitWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public DisposalUnitWindow()
|
public DisposalUnitWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:changelog="clr-namespace:Content.Client.Changelog"
|
xmlns:changelog="clr-namespace:Content.Client.Changelog"
|
||||||
xmlns:ui="clr-namespace:Content.Client.Voting.UI"
|
xmlns:ui="clr-namespace:Content.Client.Voting.UI"
|
||||||
Title="{Loc 'ui-escape-title'}"
|
Title="{Loc 'ui-escape-title'}"
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
<Button Name="DisconnectButton" Text="{Loc 'ui-escape-disconnect'}" />
|
<Button Name="DisconnectButton" Text="{Loc 'ui-escape-disconnect'}" />
|
||||||
<Button Name="QuitButton" Text="{Loc 'ui-escape-quit'}" />
|
<Button Name="QuitButton" Text="{Loc 'ui-escape-quit'}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using Robust.Shared.GameObjects;
|
|||||||
namespace Content.Client.EscapeMenu.UI
|
namespace Content.Client.EscapeMenu.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
internal partial class EscapeMenu : SS14Window
|
internal partial class EscapeMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly IClientConsoleHost _consoleHost;
|
private readonly IClientConsoleHost _consoleHost;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
xmlns:tabs="clr-namespace:Content.Client.EscapeMenu.UI.Tabs"
|
xmlns:tabs="clr-namespace:Content.Client.EscapeMenu.UI.Tabs"
|
||||||
Title="{Loc 'ui-options-title'}"
|
Title="{Loc 'ui-options-title'}"
|
||||||
MinSize="800 450">
|
MinSize="800 450">
|
||||||
@@ -7,4 +7,4 @@
|
|||||||
<tabs:KeyRebindTab />
|
<tabs:KeyRebindTab />
|
||||||
<tabs:AudioTab />
|
<tabs:AudioTab />
|
||||||
</TabContainer>
|
</TabContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.EscapeMenu.UI
|
namespace Content.Client.EscapeMenu.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class OptionsMenu : SS14Window
|
public partial class OptionsMenu : DefaultWindow
|
||||||
{
|
{
|
||||||
public OptionsMenu()
|
public OptionsMenu()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Content.Client.Lobby;
|
using Content.Client.Lobby;
|
||||||
using Content.Client.RoundEnd;
|
using Content.Client.RoundEnd;
|
||||||
@@ -32,7 +32,7 @@ namespace Content.Client.GameTicking.Managers
|
|||||||
[ViewVariables] public bool DisallowedLateJoin { get; private set; }
|
[ViewVariables] public bool DisallowedLateJoin { get; private set; }
|
||||||
[ViewVariables] public string? ServerInfoBlob { get; private set; }
|
[ViewVariables] public string? ServerInfoBlob { get; private set; }
|
||||||
[ViewVariables] public TimeSpan StartTime { get; private set; }
|
[ViewVariables] public TimeSpan StartTime { get; private set; }
|
||||||
[ViewVariables] public bool Paused { get; private set; }
|
[ViewVariables] public new bool Paused { get; private set; }
|
||||||
[ViewVariables] public Dictionary<NetUserId, LobbyPlayerStatus> Status { get; private set; } = new();
|
[ViewVariables] public Dictionary<NetUserId, LobbyPlayerStatus> Status { get; private set; } = new();
|
||||||
[ViewVariables] public IReadOnlyDictionary<StationId, Dictionary<string, int>> JobsAvailable => _jobsAvailable;
|
[ViewVariables] public IReadOnlyDictionary<StationId, Dictionary<string, int>> JobsAvailable => _jobsAvailable;
|
||||||
[ViewVariables] public IReadOnlyDictionary<StationId, string> StationNames => _stationNames;
|
[ViewVariables] public IReadOnlyDictionary<StationId, string> StationNames => _stationNames;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'ghost-roles-window-title'}">
|
Title="{Loc 'ghost-roles-window-title'}">
|
||||||
<BoxContainer Orientation="Vertical"
|
<BoxContainer Orientation="Vertical"
|
||||||
HorizontalExpand="True">
|
HorizontalExpand="True">
|
||||||
<RichTextLabel Name="Title" VerticalExpand="True"/>
|
<RichTextLabel Name="TopBanner" VerticalExpand="True"/>
|
||||||
<Button Name="RequestButton"
|
<Button Name="RequestButton"
|
||||||
Text="{Loc 'ghost-roles-window-request-role-button'}"
|
Text="{Loc 'ghost-roles-window-request-role-button'}"
|
||||||
Disabled="True"
|
Disabled="True"
|
||||||
@@ -10,4 +10,4 @@
|
|||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Center" />
|
VerticalAlignment="Center" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -11,13 +11,13 @@ using Robust.Shared.Utility;
|
|||||||
namespace Content.Client.Ghost.Roles.UI
|
namespace Content.Client.Ghost.Roles.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GhostRoleRulesWindow : SS14Window
|
public partial class GhostRoleRulesWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private float _timer = 5.0f;
|
private float _timer = 5.0f;
|
||||||
public GhostRoleRulesWindow(string rules, Action<BaseButton.ButtonEventArgs> requestAction)
|
public GhostRoleRulesWindow(string rules, Action<BaseButton.ButtonEventArgs> requestAction)
|
||||||
{
|
{
|
||||||
RobustXamlLoader.Load(this);
|
RobustXamlLoader.Load(this);
|
||||||
Title.SetMessage(FormattedMessage.FromMarkupPermissive(rules + "\n" + Loc.GetString("ghost-roles-window-rules-footer")));
|
TopBanner.SetMessage(FormattedMessage.FromMarkupPermissive(rules + "\n" + Loc.GetString("ghost-roles-window-rules-footer")));
|
||||||
RequestButton.OnPressed += requestAction;
|
RequestButton.OnPressed += requestAction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'ghost-roles-window-title'}"
|
Title="{Loc 'ghost-roles-window-title'}"
|
||||||
MinSize="375 275">
|
MinSize="375 275">
|
||||||
<Label Name="NoRolesMessage"
|
<Label Name="NoRolesMessage"
|
||||||
@@ -13,4 +13,4 @@
|
|||||||
<!-- Ghost role entries are added here by code -->
|
<!-- Ghost role entries are added here by code -->
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</ScrollContainer>
|
</ScrollContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Client.UserInterface.CustomControls;
|
|||||||
namespace Content.Client.Ghost.Roles.UI
|
namespace Content.Client.Ghost.Roles.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GhostRolesWindow : SS14Window
|
public partial class GhostRolesWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public event Action<GhostRoleInfo>? RoleRequested;
|
public event Action<GhostRoleInfo>? RoleRequested;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window Title="Make Ghost Role"
|
<DefaultWindow Title="Make Ghost Role"
|
||||||
xmlns="https://spacestation14.io">
|
xmlns="https://spacestation14.io">
|
||||||
|
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical">
|
||||||
@@ -27,4 +27,4 @@
|
|||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
|
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using static Robust.Client.UserInterface.Controls.BaseButton;
|
|||||||
namespace Content.Client.Ghost.Roles.UI
|
namespace Content.Client.Ghost.Roles.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class MakeGhostRoleWindow : SS14Window
|
public partial class MakeGhostRoleWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
public delegate void MakeRole(EntityUid uid, string name, string description, string rules, bool makeSentient);
|
public delegate void MakeRole(EntityUid uid, string name, string description, string rules, bool makeSentient);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<SS14Window xmlns="https://spacestation14.io"
|
<DefaultWindow xmlns="https://spacestation14.io"
|
||||||
Title="{Loc 'ghost-target-window-title'}"
|
Title="{Loc 'ghost-target-window-title'}"
|
||||||
MinSize="300 450"
|
MinSize="300 450"
|
||||||
SetSize="300 450">
|
SetSize="300 450">
|
||||||
@@ -11,4 +11,4 @@
|
|||||||
<!-- Target buttons get added here by code -->
|
<!-- Target buttons get added here by code -->
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</ScrollContainer>
|
</ScrollContainer>
|
||||||
</SS14Window>
|
</DefaultWindow>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using Robust.Shared.Localization;
|
|||||||
namespace Content.Client.Ghost.UI
|
namespace Content.Client.Ghost.UI
|
||||||
{
|
{
|
||||||
[GenerateTypedNameReferences]
|
[GenerateTypedNameReferences]
|
||||||
public partial class GhostTargetWindow : SS14Window
|
public partial class GhostTargetWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
private readonly IEntityNetworkManager _netManager;
|
private readonly IEntityNetworkManager _netManager;
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.Localization;
|
|||||||
|
|
||||||
namespace Content.Client.Info
|
namespace Content.Client.Info
|
||||||
{
|
{
|
||||||
public sealed class RulesAndInfoWindow : SS14Window
|
public sealed class RulesAndInfoWindow : DefaultWindow
|
||||||
{
|
{
|
||||||
[Dependency] private readonly RulesManager _rulesManager = default!;
|
[Dependency] private readonly RulesManager _rulesManager = default!;
|
||||||
[Dependency] private readonly IResourceCache _resourceManager = default!;
|
[Dependency] private readonly IResourceCache _resourceManager = default!;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user