From 939249a38ba76036b4a2f7e992bcfa4c2dec4973 Mon Sep 17 00:00:00 2001 From: pacable <77161122+pxc1984@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:15:53 +0300 Subject: [PATCH] Proton (#420) * Proton-1 finished! Signed-off-by: pacable * fix Signed-off-by: pacable --------- Signed-off-by: pacable --- .../UI/Bwoink/BwoinkControl.xaml | 1 + .../UI/Bwoink/BwoinkControl.xaml.cs | 18 +++ .../UI/Bwoink/BwoinkWindow.xaml | 2 +- .../UI/Tabs/AdminTab/PlayerActionsWindow.xaml | 1 + .../Tabs/AdminTab/PlayerActionsWindow.xaml.cs | 15 ++ Content.Client/Entry/EntryPoint.cs | 3 + Content.Client/IoC/ClientContentIoC.cs | 4 +- .../_Sunrise/Proton/ClientProtonManager.cs | 80 ++++++++++ .../_Sunrise/Proton/ProtonScreenshotView.xaml | 10 ++ .../Proton/ProtonScreenshotView.xaml.cs | 20 +++ .../_Sunrise/Proton/ScreenshotCommand.cs | 28 ++++ Content.Server/Entry/EntryPoint.cs | 4 + Content.Server/IoC/ServerContentIoC.cs | 2 + .../_Sunrise/Proton/ServerProtonManager.cs | 144 ++++++++++++++++++ .../_Sunrise/Proton/ProtonRequests.cs | 42 +++++ .../_Sunrise/Proton/ProtonResponses.cs | 99 ++++++++++++ .../_sunrise/administration/ui/actions.ftl | 1 + .../_sunrise/administration/ui/actions.ftl | 1 + 18 files changed, 473 insertions(+), 2 deletions(-) create mode 100644 Content.Client/_Sunrise/Proton/ClientProtonManager.cs create mode 100644 Content.Client/_Sunrise/Proton/ProtonScreenshotView.xaml create mode 100644 Content.Client/_Sunrise/Proton/ProtonScreenshotView.xaml.cs create mode 100644 Content.Client/_Sunrise/Proton/ScreenshotCommand.cs create mode 100644 Content.Server/_Sunrise/Proton/ServerProtonManager.cs create mode 100644 Content.Shared/_Sunrise/Proton/ProtonRequests.cs create mode 100644 Content.Shared/_Sunrise/Proton/ProtonResponses.cs create mode 100644 Resources/Locale/en-US/_strings/_sunrise/administration/ui/actions.ftl create mode 100644 Resources/Locale/ru-RU/_strings/_sunrise/administration/ui/actions.ftl diff --git a/Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml b/Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml index 39ea50edbe..32a3e41ca6 100644 --- a/Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml +++ b/Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml @@ -16,6 +16,7 @@