From b72d32203b7681df37fbec2a051f0e8128104277 Mon Sep 17 00:00:00 2001 From: AwareFoxy <135021509+AwareFoxy@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:47:06 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"[PORT]=20=D0=A1=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B5=D0=BC=D0=B0=20=D0=BE=D0=B1=D0=BC=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F=D0=BC?= =?UTF-8?q?=D0=B8=20=D0=B2=20=D0=9A=D0=9F=D0=9A=20(#153)"=20(#154)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a95d724c42fa98a5815b28aa33726ff0a027043c. --- .../UI/AgentIDCardBoundUserInterface.cs | 9 - .../Access/UI/AgentIDCardWindow.xaml | 4 - .../Access/UI/AgentIDCardWindow.xaml.cs | 37 -- .../CartridgeLoader/Cartridges/LogProbeUi.cs | 2 +- .../Cartridges/LogProbeUiFragment.xaml | 26 +- .../Cartridges/LogProbeUiFragment.xaml.cs | 109 +--- .../Cartridges/NanoChatEntry.xaml | 48 -- .../Cartridges/NanoChatEntry.xaml.cs | 39 -- .../Cartridges/NanoChatLogEntry.xaml | 21 - .../Cartridges/NanoChatLogEntry.xaml.cs | 17 - .../Cartridges/NanoChatMessageBubble.xaml | 55 -- .../Cartridges/NanoChatMessageBubble.xaml.cs | 62 --- .../CartridgeLoader/Cartridges/NanoChatUi.cs | 43 -- .../Cartridges/NanoChatUiFragment.xaml | 167 ------ .../Cartridges/NanoChatUiFragment.xaml.cs | 254 --------- .../Cartridges/NewChatPopup.xaml | 52 -- .../Cartridges/NewChatPopup.xaml.cs | 87 --- .../_CorvaxNext/NanoChat/NanoChatSystem.cs | 5 - .../Access/Systems/AgentIDCardSystem.cs | 53 +- .../Cartridges/LogProbeCartridgeComponent.cs | 7 - .../Cartridges/LogProbeCartridgeSystem.cs | 16 +- .../LogProbeCartridgeSystem.NanoChat.cs | 82 --- .../Cartridges/NanoChatCartridgeComponent.cs | 26 - .../Cartridges/NanoChatCartridgeSystem.cs | 514 ------------------ .../_CorvaxNext/NanoChat/NanoChatSystem.cs | 130 ----- .../Access/SharedAgentIDCardSystem.cs | 16 +- .../Cartridges/LogProbeUiState.cs | 11 +- .../Cartridges/NanoChatUiMessageEvent.cs | 166 ------ .../Cartridges/NanoChatUiState.cs | 30 - .../NanoChat/NanoChatCardComponent.cs | 52 -- .../NanoChat/SharedNanoChatSystem.cs | 273 ---------- .../components/agent-id-card-component.ftl | 1 - .../_corvaxnext/cartridge-loader/nanochat.ftl | 36 -- .../components/nanochat-card-component.ftl | 5 - .../components/agent-id-card-component.ftl | 1 - .../_corvaxnext/cartridge-loader/nanochat.ftl | 36 -- .../components/nanochat-card-component.ftl | 5 - .../entities/objects/devices/cartriges.ftl | 4 +- .../Entities/Objects/Devices/pda.yml | 11 - .../Objects/Misc/identification_cards.yml | 3 - .../Entities/Objects/Devices/cartridges.yml | 23 +- .../_CorvaxNext/name_identifier_groups.yml | 4 - .../Interface/VerbIcons/ATTRIBUTION.txt | 2 - .../_CorvaxNext/Interface/VerbIcons/bell.svg | 5 - .../Interface/VerbIcons/bell.svg.png | Bin 720 -> 0 bytes .../Interface/VerbIcons/bell_muted.png | Bin 355 -> 0 bytes .../Misc/program_icons.rsi/meta.json | 14 - .../Misc/program_icons.rsi/nanochat.png | Bin 725 -> 0 bytes .../Devices/cartridge.rsi/cart-chat.png | Bin 419 -> 0 bytes .../Objects/Devices/cartridge.rsi/meta.json | 5 +- 50 files changed, 16 insertions(+), 2552 deletions(-) delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatEntry.xaml delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatEntry.xaml.cs delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatLogEntry.xaml delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatLogEntry.xaml.cs delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatMessageBubble.xaml delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatMessageBubble.xaml.cs delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatUi.cs delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatUiFragment.xaml.cs delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NewChatPopup.xaml delete mode 100644 Content.Client/_CorvaxNext/CartridgeLoader/Cartridges/NewChatPopup.xaml.cs delete mode 100644 Content.Client/_CorvaxNext/NanoChat/NanoChatSystem.cs delete mode 100644 Content.Server/_CorvaxNext/CartridgeLoader/Cartridges/LogProbeCartridgeSystem.NanoChat.cs delete mode 100644 Content.Server/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatCartridgeComponent.cs delete mode 100644 Content.Server/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatCartridgeSystem.cs delete mode 100644 Content.Server/_CorvaxNext/NanoChat/NanoChatSystem.cs delete mode 100644 Content.Shared/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatUiMessageEvent.cs delete mode 100644 Content.Shared/_CorvaxNext/CartridgeLoader/Cartridges/NanoChatUiState.cs delete mode 100644 Content.Shared/_CorvaxNext/NanoChat/NanoChatCardComponent.cs delete mode 100644 Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs delete mode 100644 Resources/Locale/en-US/_corvaxnext/access/components/agent-id-card-component.ftl delete mode 100644 Resources/Locale/en-US/_corvaxnext/cartridge-loader/nanochat.ftl delete mode 100644 Resources/Locale/en-US/_corvaxnext/nanochat/components/nanochat-card-component.ftl delete mode 100644 Resources/Locale/ru-RU/_corvaxnext/access/components/agent-id-card-component.ftl delete mode 100644 Resources/Locale/ru-RU/_corvaxnext/cartridge-loader/nanochat.ftl delete mode 100644 Resources/Locale/ru-RU/_corvaxnext/nanochat/components/nanochat-card-component.ftl delete mode 100644 Resources/Prototypes/_CorvaxNext/name_identifier_groups.yml delete mode 100644 Resources/Textures/_CorvaxNext/Interface/VerbIcons/ATTRIBUTION.txt delete mode 100644 Resources/Textures/_CorvaxNext/Interface/VerbIcons/bell.svg delete mode 100644 Resources/Textures/_CorvaxNext/Interface/VerbIcons/bell.svg.png delete mode 100644 Resources/Textures/_CorvaxNext/Interface/VerbIcons/bell_muted.png delete mode 100644 Resources/Textures/_CorvaxNext/Misc/program_icons.rsi/meta.json delete mode 100644 Resources/Textures/_CorvaxNext/Misc/program_icons.rsi/nanochat.png delete mode 100644 Resources/Textures/_CorvaxNext/Objects/Devices/cartridge.rsi/cart-chat.png diff --git a/Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs b/Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs index 24e9bc7a01d..050756fcd14 100644 --- a/Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs +++ b/Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs @@ -26,16 +26,8 @@ protected override void Open() _window.OnNameChanged += OnNameChanged; _window.OnJobChanged += OnJobChanged; _window.OnJobIconChanged += OnJobIconChanged; - _window.OnNumberChanged += OnNumberChanged; // Corvax-Next-PDAChat } - // Corvax-Next-PDAChat-Start - private void OnNumberChanged(uint newNumber) - { - SendMessage(new AgentIDCardNumberChangedMessage(newNumber)); - } - // Corvax-Next-PDAChat-End - private void OnNameChanged(string newName) { SendMessage(new AgentIDCardNameChangedMessage(newName)); @@ -64,7 +56,6 @@ protected override void UpdateState(BoundUserInterfaceState state) _window.SetCurrentName(cast.CurrentName); _window.SetCurrentJob(cast.CurrentJob); _window.SetAllowedIcons(cast.CurrentJobIconId); - _window.SetCurrentNumber(cast.CurrentNumber); // Corvax-Next-PDAChat } } } diff --git a/Content.Client/Access/UI/AgentIDCardWindow.xaml b/Content.Client/Access/UI/AgentIDCardWindow.xaml index a61ed2a5ae2..7d091e4e165 100644 --- a/Content.Client/Access/UI/AgentIDCardWindow.xaml +++ b/Content.Client/Access/UI/AgentIDCardWindow.xaml @@ -6,10 +6,6 @@