From aabf550b86989c985be7669546d0fe5833ef6f31 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 2 Oct 2023 16:00:35 +0300 Subject: [PATCH] Revert "[Major] Moving out Queue, Verifications and Sponsors (#1435)" This reverts commit 195c402ef10775edba3258c0f01638a275b02b80. --- Content.Client/Content.Client.csproj | 2 - .../Corvax/DiscordAuth/DiscordAuthGui.xaml | 28 +++ .../Corvax/DiscordAuth/DiscordAuthGui.xaml.cs | 35 ++++ .../Corvax/DiscordAuth/DiscordAuthManager.cs | 30 ++++ .../Corvax/DiscordAuth/DiscordAuthState.cs | 34 ++++ .../Corvax/JoinQueue/JoinQueueManager.cs | 26 +++ Content.Client/Corvax/JoinQueue/QueueGui.xaml | 34 ++++ .../Corvax/JoinQueue/QueueGui.xaml.cs | 41 +++++ Content.Client/Corvax/JoinQueue/QueueState.cs | 52 ++++++ .../Corvax/Sponsors/SponsorsManager.cs | 23 +++ .../Corvax/TTS/HumanoidProfileEditor.TTS.cs | 11 +- Content.Client/Entry/EntryPoint.cs | 9 + Content.Client/Humanoid/MarkingPicker.xaml.cs | 8 +- .../Humanoid/SingleMarkingPicker.xaml.cs | 8 +- Content.Client/IoC/ClientContentIoC.cs | 6 + .../Preferences/ClientPreferencesManager.cs | 9 +- Content.Server/Chat/Managers/ChatManager.cs | 9 +- .../Connection/ConnectionManager.cs | 7 +- Content.Server/Content.Server.csproj | 1 - .../Corvax/DiscordAuth/DiscordAuthManager.cs | 125 +++++++++++++ .../Corvax/JoinQueue/JoinQueueManager.cs | 167 ++++++++++++++++++ .../Corvax/Loadout/LoadoutSystem.cs | 8 +- .../Corvax/Sponsors/SponsorsManager.cs | 2 +- Content.Server/Entry/EntryPoint.cs | 6 + .../GameTicking/GameTicker.Player.cs | 3 +- .../GameTicking/GameTicker.StatusShell.cs | 11 +- Content.Server/IoC/ServerContentIoC.cs | 6 + .../Managers/ServerPreferencesManager.cs | 19 +- Content.Shared/Content.Shared.csproj | 1 - Content.Shared/Corvax/CCCVars/CCCVars.cs | 32 ++++ .../Corvax/DiscordAuth/MsgDiscordAuthCheck.cs | 22 +++ .../DiscordAuth/MsgDiscordAuthRequired.cs | 25 +++ .../Corvax/JoinQueue/MsgQueueUpdate.cs | 36 ++++ .../Corvax/Sponsors/MsgSponsorInfo.cs | 2 +- .../Content.Corvax.Interfaces.Client.csproj | 13 -- .../IClientDiscordAuthManager.cs | 8 - .../IClientJoinQueueManager.cs | 6 - .../IClientSponsorsManager.cs | 9 - .../Content.Corvax.Interfaces.Server.csproj | 13 -- .../IServerDiscordAuthManager.cs | 12 -- .../IServerJoinQueueManager.cs | 8 - .../IServerSponsorsManager.cs | 10 -- .../Content.Corvax.Interfaces.Shared.csproj | 10 -- .../ISharedDiscordAuthManager.cs | 6 - .../ISharedSponsorsManager.cs | 15 -- Secrets | 2 +- SpaceStation14.sln | 35 ---- Tools/package_client_build.py | 24 +-- Tools/package_server_build.py | 11 +- 49 files changed, 774 insertions(+), 246 deletions(-) create mode 100644 Content.Client/Corvax/DiscordAuth/DiscordAuthGui.xaml create mode 100644 Content.Client/Corvax/DiscordAuth/DiscordAuthGui.xaml.cs create mode 100644 Content.Client/Corvax/DiscordAuth/DiscordAuthManager.cs create mode 100644 Content.Client/Corvax/DiscordAuth/DiscordAuthState.cs create mode 100644 Content.Client/Corvax/JoinQueue/JoinQueueManager.cs create mode 100644 Content.Client/Corvax/JoinQueue/QueueGui.xaml create mode 100644 Content.Client/Corvax/JoinQueue/QueueGui.xaml.cs create mode 100644 Content.Client/Corvax/JoinQueue/QueueState.cs create mode 100644 Content.Client/Corvax/Sponsors/SponsorsManager.cs create mode 100644 Content.Server/Corvax/DiscordAuth/DiscordAuthManager.cs create mode 100644 Content.Server/Corvax/JoinQueue/JoinQueueManager.cs create mode 100644 Content.Shared/Corvax/DiscordAuth/MsgDiscordAuthCheck.cs create mode 100644 Content.Shared/Corvax/DiscordAuth/MsgDiscordAuthRequired.cs create mode 100644 Content.Shared/Corvax/JoinQueue/MsgQueueUpdate.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Client/Content.Corvax.Interfaces.Client.csproj delete mode 100644 Corvax/Content.Corvax.Interfaces.Client/IClientDiscordAuthManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Client/IClientJoinQueueManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Client/IClientSponsorsManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Server/Content.Corvax.Interfaces.Server.csproj delete mode 100644 Corvax/Content.Corvax.Interfaces.Server/IServerDiscordAuthManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Server/IServerJoinQueueManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Server/IServerSponsorsManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Shared/Content.Corvax.Interfaces.Shared.csproj delete mode 100644 Corvax/Content.Corvax.Interfaces.Shared/ISharedDiscordAuthManager.cs delete mode 100644 Corvax/Content.Corvax.Interfaces.Shared/ISharedSponsorsManager.cs diff --git a/Content.Client/Content.Client.csproj b/Content.Client/Content.Client.csproj index 3ac45239996..257999b8c13 100644 --- a/Content.Client/Content.Client.csproj +++ b/Content.Client/Content.Client.csproj @@ -22,8 +22,6 @@ - - diff --git a/Content.Client/Corvax/DiscordAuth/DiscordAuthGui.xaml b/Content.Client/Corvax/DiscordAuth/DiscordAuthGui.xaml new file mode 100644 index 00000000000..389854ed529 --- /dev/null +++ b/Content.Client/Corvax/DiscordAuth/DiscordAuthGui.xaml @@ -0,0 +1,28 @@ + + + + + + +