From d29b02c770097a94cae59c64c8f25f6d1493993f Mon Sep 17 00:00:00 2001 From: Arufonsu <17498701+Arufonsu@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:48:22 -0400 Subject: [PATCH] chore: removes unnecessary and implicit usings from the client --- Intersect.Client/Core/Audio.cs | 3 --- Intersect.Client/Core/Bootstrapper.cs | 5 ----- Intersect.Client/Core/ClientCommandLineOptions.cs | 4 ---- Intersect.Client/Core/Controls/Controls.cs | 4 ---- Intersect.Client/Core/Fade.cs | 1 - Intersect.Client/Core/Graphics.cs | 4 ---- Intersect.Client/Core/IPlatformRunner.cs | 4 +--- Intersect.Client/Core/Input.cs | 1 - Intersect.Client/Core/Main.cs | 5 ----- Intersect.Client/Core/Sounds/MapSound.cs | 3 +-- Intersect.Client/Entities/Animation.cs | 2 -- Intersect.Client/Entities/ChatBubble.cs | 2 -- Intersect.Client/Entities/Critter.cs | 2 -- Intersect.Client/Entities/Dash.cs | 3 +-- Intersect.Client/Entities/Events/Dialog.cs | 4 +--- Intersect.Client/Entities/Events/Event.cs | 3 --- Intersect.Client/Entities/Events/Hold.cs | 4 +--- Intersect.Client/Entities/HotbarInstance.cs | 1 - Intersect.Client/Entities/PartyMember.cs | 3 +-- Intersect.Client/Entities/Player.cs | 1 - Intersect.Client/Entities/Resource.cs | 3 --- Intersect.Client/Entities/Status.cs | 3 +-- Intersect.Client/General/Globals.cs | 6 +----- Intersect.Client/General/Time.cs | 4 +--- Intersect.Client/Interface/Game/AdminWindow.cs | 2 -- Intersect.Client/Interface/Game/Bag/BagItem.cs | 2 -- Intersect.Client/Interface/Game/Bag/BagWindow.cs | 6 +----- Intersect.Client/Interface/Game/BanMuteBox.cs | 5 +---- Intersect.Client/Interface/Game/Bank/BankItem.cs | 2 -- Intersect.Client/Interface/Game/Bank/BankWindow.cs | 4 ---- .../Interface/Game/Character/CharacterWindow.cs | 3 --- .../Interface/Game/Character/EquipmentItem.cs | 3 --- Intersect.Client/Interface/Game/Chat/Chatbox.cs | 4 ---- Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs | 3 --- .../Interface/Game/Crafting/CraftingWindow.cs | 3 --- Intersect.Client/Interface/Game/Crafting/RecipeItem.cs | 4 ---- .../Components/RowContainerComponent.cs | 4 +--- .../Game/DescriptionWindows/ItemDescriptionWindow.cs | 3 --- Intersect.Client/Interface/Game/EscapeMenu.cs | 4 +--- Intersect.Client/Interface/Game/EventWindow.cs | 1 - Intersect.Client/Interface/Game/Friends/FriendsRow.cs | 4 +--- Intersect.Client/Interface/Game/Friends/FriendsWindow.cs | 5 +---- Intersect.Client/Interface/Game/GameInterface.cs | 3 --- Intersect.Client/Interface/Game/GuildWindow.cs | 7 +------ Intersect.Client/Interface/Game/Hotbar/HotBar.cs | 8 +------- Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs | 1 - Intersect.Client/Interface/Game/InputBox.cs | 3 --- .../Interface/Game/Inventory/InventoryItem.cs | 2 -- .../Interface/Game/Inventory/InventoryWindow.cs | 4 +--- Intersect.Client/Interface/Game/MapItem/MapItemIcon.cs | 3 --- Intersect.Client/Interface/Game/MapItem/MapItemWindow.cs | 6 +----- Intersect.Client/Interface/Game/Menu.cs | 2 -- Intersect.Client/Interface/Game/PartyWindow.cs | 6 +----- Intersect.Client/Interface/Game/PictureWindow.cs | 1 - Intersect.Client/Interface/Game/QuestOfferWindow.cs | 2 -- Intersect.Client/Interface/Game/QuestsWindow.cs | 5 ----- Intersect.Client/Interface/Game/Shop/ShopItem.cs | 4 ---- Intersect.Client/Interface/Game/Shop/ShopWindow.cs | 5 +---- Intersect.Client/Interface/Game/Spells/SpellItem.cs | 3 --- Intersect.Client/Interface/Game/Spells/SpellsWindow.cs | 6 +----- Intersect.Client/Interface/Game/Trades/TradeSegment.cs | 5 +---- Intersect.Client/Interface/Game/Trades/TradingWindow.cs | 6 +----- Intersect.Client/Interface/Game/Typewriting/Typewriter.cs | 2 -- Intersect.Client/Interface/Menu/CreateCharacterWindow.cs | 5 +---- Intersect.Client/Interface/Menu/CreditsParser.cs | 4 +--- Intersect.Client/Interface/Menu/CreditsWindow.cs | 2 -- Intersect.Client/Interface/Menu/ForgotPasswordWindow.cs | 5 ----- Intersect.Client/Interface/Menu/MainMenu.cs | 3 --- Intersect.Client/Interface/Menu/MenuGuiBase.cs | 5 +---- Intersect.Client/Interface/Menu/RegisterWindow.cs | 5 +---- Intersect.Client/Interface/Menu/ResetPasswordWindow.cs | 5 +---- Intersect.Client/Interface/Menu/SelectCharacterWindow.cs | 3 --- Intersect.Client/Interface/MutableInterface.cs | 4 ---- Intersect.Client/Interface/Shared/Errors/ErrorWindow.cs | 6 +----- Intersect.Client/Interface/Shared/SettingsWindow.cs | 4 ---- Intersect.Client/Items/MapItemInstance.cs | 1 - Intersect.Client/Maps/MapAnimation.cs | 1 - Intersect.Client/Maps/MapGrid.cs | 4 +--- Intersect.Client/Maps/MapInstance.cs | 6 +----- Intersect.Client/Maps/WeatherParticle.cs | 2 -- Intersect.Client/MonoGame/Audio/MonoAudioInstance.cs | 4 +--- Intersect.Client/MonoGame/Audio/MonoMusicInstance.cs | 4 +--- Intersect.Client/MonoGame/Audio/MonoMusicSource.cs | 6 ------ Intersect.Client/MonoGame/Audio/MonoSoundInstance.cs | 4 +--- Intersect.Client/MonoGame/Audio/MonoSoundSource.cs | 4 ---- Intersect.Client/MonoGame/Database/MonoDatabase.cs | 4 ---- .../MonoGame/File Management/MonoContentManager.cs | 6 ------ Intersect.Client/MonoGame/Graphics/MonoFont.cs | 5 +---- Intersect.Client/MonoGame/Graphics/MonoRenderer.cs | 4 ---- Intersect.Client/MonoGame/Graphics/MonoShader.cs | 2 -- Intersect.Client/MonoGame/Graphics/MonoTexture.cs | 5 +---- Intersect.Client/MonoGame/Graphics/MonoTileBuffer.cs | 5 +---- Intersect.Client/MonoGame/Input/MonoInput.cs | 4 ---- Intersect.Client/MonoGame/IntersectGame.cs | 5 ----- Intersect.Client/MonoGame/NativeInterop/DllLoader.cs | 1 - Intersect.Client/MonoGame/NativeInterop/FunctionLoader.cs | 2 -- Intersect.Client/MonoGame/NativeInterop/Sdl2.Video.cs | 1 - Intersect.Client/MonoGame/NativeInterop/Sdl2.cs | 1 - Intersect.Client/Networking/NetworkStatus.cs | 4 +--- Intersect.Client/Networking/PacketHandler.cs | 6 ------ Intersect.Client/Networking/PacketSender.cs | 3 --- Intersect.Client/Plugins/Audio/AudioManager.cs | 1 - Intersect.Client/Plugins/Contexts/ClientPluginContext.cs | 4 +--- Intersect.Client/Plugins/Helpers/ClientLifecycleHelper.cs | 2 -- Intersect.Client/Plugins/Helpers/ClientNetworkHelper.cs | 5 +---- Intersect.Client/Plugins/Helpers/PluginPacketSender.cs | 5 +---- Intersect.Client/Program.cs | 1 - Intersect.Client/Spells/Spell.cs | 4 +--- 108 files changed, 43 insertions(+), 345 deletions(-) diff --git a/Intersect.Client/Core/Audio.cs b/Intersect.Client/Core/Audio.cs index ad2ac3643d..37c51780c6 100644 --- a/Intersect.Client/Core/Audio.cs +++ b/Intersect.Client/Core/Audio.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Core.Sounds; using Intersect.Client.Framework.Audio; using Intersect.Client.Framework.Core.Sounds; diff --git a/Intersect.Client/Core/Bootstrapper.cs b/Intersect.Client/Core/Bootstrapper.cs index ecefdfa0b2..bbbfe7d820 100644 --- a/Intersect.Client/Core/Bootstrapper.cs +++ b/Intersect.Client/Core/Bootstrapper.cs @@ -7,11 +7,6 @@ using Intersect.Plugins.Contexts; using Intersect.Plugins.Helpers; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; - namespace Intersect.Client.Core { diff --git a/Intersect.Client/Core/ClientCommandLineOptions.cs b/Intersect.Client/Core/ClientCommandLineOptions.cs index 5de2d28b51..3c72776e0f 100644 --- a/Intersect.Client/Core/ClientCommandLineOptions.cs +++ b/Intersect.Client/Core/ClientCommandLineOptions.cs @@ -1,9 +1,5 @@ using CommandLine; -using System.Collections.Generic; -using System.IO; -using System.Linq; - using Intersect.Client.Framework.Graphics; using Intersect.Core; diff --git a/Intersect.Client/Core/Controls/Controls.cs b/Intersect.Client/Core/Controls/Controls.cs index 71e5c18006..4bfc6c9395 100644 --- a/Intersect.Client/Core/Controls/Controls.cs +++ b/Intersect.Client/Core/Controls/Controls.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; - using Intersect.Client.Framework.GenericClasses; using Intersect.Client.General; using Newtonsoft.Json; diff --git a/Intersect.Client/Core/Fade.cs b/Intersect.Client/Core/Fade.cs index 878d36ae5e..b6747e64b3 100644 --- a/Intersect.Client/Core/Fade.cs +++ b/Intersect.Client/Core/Fade.cs @@ -1,5 +1,4 @@ using Intersect.Client.Networking; -using Intersect.Configuration; using Intersect.Utilities; namespace Intersect.Client.Core diff --git a/Intersect.Client/Core/Graphics.cs b/Intersect.Client/Core/Graphics.cs index 33dee27e94..cce720bd86 100644 --- a/Intersect.Client/Core/Graphics.cs +++ b/Intersect.Client/Core/Graphics.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Entities; using Intersect.Client.Entities.Events; using Intersect.Client.Framework.Content; @@ -13,7 +10,6 @@ using Intersect.Enums; using Intersect.GameObjects; using Intersect.Utilities; -using Newtonsoft.Json; namespace Intersect.Client.Core { diff --git a/Intersect.Client/Core/IPlatformRunner.cs b/Intersect.Client/Core/IPlatformRunner.cs index c0cfd4d2aa..7bc6567402 100644 --- a/Intersect.Client/Core/IPlatformRunner.cs +++ b/Intersect.Client/Core/IPlatformRunner.cs @@ -1,6 +1,4 @@ -using System; - -namespace Intersect.Client.Core +namespace Intersect.Client.Core { /// /// Declares the API surface to launch instances of platform-specific (e.g. MonoGame, Unity) runners. diff --git a/Intersect.Client/Core/Input.cs b/Intersect.Client/Core/Input.cs index ef77f6eacb..1655f9e3a5 100644 --- a/Intersect.Client/Core/Input.cs +++ b/Intersect.Client/Core/Input.cs @@ -1,4 +1,3 @@ -using System; using Intersect.Admin.Actions; using Intersect.Client.Core.Controls; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/Core/Main.cs b/Intersect.Client/Core/Main.cs index 25376b7a42..94631e0123 100644 --- a/Intersect.Client/Core/Main.cs +++ b/Intersect.Client/Core/Main.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; - using Intersect.Client.Framework.Graphics; using Intersect.Client.General; -using Intersect.Client.Localization; using Intersect.Client.Maps; using Intersect.Client.Networking; using Intersect.Configuration; diff --git a/Intersect.Client/Core/Sounds/MapSound.cs b/Intersect.Client/Core/Sounds/MapSound.cs index d28c00c66e..7436c5829f 100644 --- a/Intersect.Client/Core/Sounds/MapSound.cs +++ b/Intersect.Client/Core/Sounds/MapSound.cs @@ -1,5 +1,4 @@ -using System; -using Intersect.Client.Framework.Core.Sounds; +using Intersect.Client.Framework.Core.Sounds; using Intersect.Client.Framework.Entities; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.General; diff --git a/Intersect.Client/Entities/Animation.cs b/Intersect.Client/Entities/Animation.cs index 3b207bd5ab..1b11bbbde3 100644 --- a/Intersect.Client/Entities/Animation.cs +++ b/Intersect.Client/Entities/Animation.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Core; using Intersect.Client.Core.Sounds; using Intersect.Client.Framework.Entities; diff --git a/Intersect.Client/Entities/ChatBubble.cs b/Intersect.Client/Entities/ChatBubble.cs index 8ac9636d0f..ddc08e5e8a 100644 --- a/Intersect.Client/Entities/ChatBubble.cs +++ b/Intersect.Client/Entities/ChatBubble.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Core; using Intersect.Client.Framework.Entities; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/Entities/Critter.cs b/Intersect.Client/Entities/Critter.cs index 6f0837a7c1..f52bc444de 100644 --- a/Intersect.Client/Entities/Critter.cs +++ b/Intersect.Client/Entities/Critter.cs @@ -7,8 +7,6 @@ using Intersect.GameObjects; using Intersect.GameObjects.Maps; using Intersect.Utilities; -using System; -using System.Collections.Generic; namespace Intersect.Client.Entities { diff --git a/Intersect.Client/Entities/Dash.cs b/Intersect.Client/Entities/Dash.cs index b580c470b2..4e8322a4fd 100644 --- a/Intersect.Client/Entities/Dash.cs +++ b/Intersect.Client/Entities/Dash.cs @@ -1,5 +1,4 @@ -using System; -using Intersect.Client.Framework.Entities; +using Intersect.Client.Framework.Entities; using Intersect.Client.Maps; using Intersect.Enums; using Intersect.Utilities; diff --git a/Intersect.Client/Entities/Events/Dialog.cs b/Intersect.Client/Entities/Events/Dialog.cs index 732e61a727..cd9075be6e 100644 --- a/Intersect.Client/Entities/Events/Dialog.cs +++ b/Intersect.Client/Entities/Events/Dialog.cs @@ -1,6 +1,4 @@ -using System; - -namespace Intersect.Client.Entities.Events +namespace Intersect.Client.Entities.Events { public partial class Dialog diff --git a/Intersect.Client/Entities/Events/Event.cs b/Intersect.Client/Entities/Events/Event.cs index 03669639a5..2ebeb48be4 100644 --- a/Intersect.Client/Entities/Events/Event.cs +++ b/Intersect.Client/Entities/Events/Event.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Graphics; diff --git a/Intersect.Client/Entities/Events/Hold.cs b/Intersect.Client/Entities/Events/Hold.cs index ff47c59266..7568ff48ce 100644 --- a/Intersect.Client/Entities/Events/Hold.cs +++ b/Intersect.Client/Entities/Events/Hold.cs @@ -1,6 +1,4 @@ -using System; - -namespace Intersect.Client.Entities.Events +namespace Intersect.Client.Entities.Events { public partial class Hold diff --git a/Intersect.Client/Entities/HotbarInstance.cs b/Intersect.Client/Entities/HotbarInstance.cs index 1e675b9405..dd03980209 100644 --- a/Intersect.Client/Entities/HotbarInstance.cs +++ b/Intersect.Client/Entities/HotbarInstance.cs @@ -1,7 +1,6 @@ using Intersect.Client.Framework.Entities; using Intersect.Enums; using Newtonsoft.Json; -using System; namespace Intersect.Client.Entities { diff --git a/Intersect.Client/Entities/PartyMember.cs b/Intersect.Client/Entities/PartyMember.cs index 16802e8982..8744e08950 100644 --- a/Intersect.Client/Entities/PartyMember.cs +++ b/Intersect.Client/Entities/PartyMember.cs @@ -1,5 +1,4 @@ -using System; -using Intersect.Client.Framework.Entities; +using Intersect.Client.Framework.Entities; using Intersect.Enums; namespace Intersect.Client.Entities diff --git a/Intersect.Client/Entities/Player.cs b/Intersect.Client/Entities/Player.cs index fd8037c05a..c5b6458f19 100644 --- a/Intersect.Client/Entities/Player.cs +++ b/Intersect.Client/Entities/Player.cs @@ -17,7 +17,6 @@ using Intersect.Configuration; using Intersect.Enums; using Intersect.GameObjects; -using Intersect.GameObjects.Events; using Intersect.GameObjects.Maps; using Intersect.Logging; using Intersect.Network.Packets.Server; diff --git a/Intersect.Client/Entities/Resource.cs b/Intersect.Client/Entities/Resource.cs index 127f231b15..627b07ca4c 100644 --- a/Intersect.Client/Entities/Resource.cs +++ b/Intersect.Client/Entities/Resource.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.Entities; using Intersect.Client.Framework.File_Management; diff --git a/Intersect.Client/Entities/Status.cs b/Intersect.Client/Entities/Status.cs index 7bf95c1268..9bd72f3df7 100644 --- a/Intersect.Client/Entities/Status.cs +++ b/Intersect.Client/Entities/Status.cs @@ -1,5 +1,4 @@ -using System; -using Intersect.Client.Framework.Entities; +using Intersect.Client.Framework.Entities; using Intersect.Enums; using Intersect.Utilities; diff --git a/Intersect.Client/General/Globals.cs b/Intersect.Client/General/Globals.cs index f8dfd2afbf..52df1ec7af 100644 --- a/Intersect.Client/General/Globals.cs +++ b/Intersect.Client/General/Globals.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Entities; +using Intersect.Client.Entities; using Intersect.Client.Entities.Events; using Intersect.Client.Framework.Database; using Intersect.Client.Framework.Entities; @@ -15,7 +12,6 @@ using Intersect.Enums; using Intersect.GameObjects; using Intersect.Network.Packets.Server; -using Intersect.Utilities; namespace Intersect.Client.General { diff --git a/Intersect.Client/General/Time.cs b/Intersect.Client/General/Time.cs index b534563ba0..c29511fcf0 100644 --- a/Intersect.Client/General/Time.cs +++ b/Intersect.Client/General/Time.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Utilities; +using Intersect.Utilities; namespace Intersect.Client.General { diff --git a/Intersect.Client/Interface/Game/AdminWindow.cs b/Intersect.Client/Interface/Game/AdminWindow.cs index a693fc1b61..5f1a56f1f3 100644 --- a/Intersect.Client/Interface/Game/AdminWindow.cs +++ b/Intersect.Client/Interface/Game/AdminWindow.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Admin.Actions; using Intersect.Client.Core; using Intersect.Client.Framework.Gwen; diff --git a/Intersect.Client/Interface/Game/Bag/BagItem.cs b/Intersect.Client/Interface/Game/Bag/BagItem.cs index aa130d44f6..665667071f 100644 --- a/Intersect.Client/Interface/Game/Bag/BagItem.cs +++ b/Intersect.Client/Interface/Game/Bag/BagItem.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/Bag/BagWindow.cs b/Intersect.Client/Interface/Game/Bag/BagWindow.cs index 0e57f968ea..5a3f4552c0 100644 --- a/Intersect.Client/Interface/Game/Bag/BagWindow.cs +++ b/Intersect.Client/Interface/Game/Bag/BagWindow.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Game/BanMuteBox.cs b/Intersect.Client/Interface/Game/BanMuteBox.cs index ad7caa2a67..a1516d3646 100644 --- a/Intersect.Client/Interface/Game/BanMuteBox.cs +++ b/Intersect.Client/Interface/Game/BanMuteBox.cs @@ -1,7 +1,4 @@ -using System; - -using Intersect.Client.Core; -using Intersect.Client.Framework.Graphics; +using Intersect.Client.Core; using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/Bank/BankItem.cs b/Intersect.Client/Interface/Game/Bank/BankItem.cs index a51d74949b..93a90140b4 100644 --- a/Intersect.Client/Interface/Game/Bank/BankItem.cs +++ b/Intersect.Client/Interface/Game/Bank/BankItem.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/Bank/BankWindow.cs b/Intersect.Client/Interface/Game/Bank/BankWindow.cs index c886d537bb..415bab3cbc 100644 --- a/Intersect.Client/Interface/Game/Bank/BankWindow.cs +++ b/Intersect.Client/Interface/Game/Bank/BankWindow.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Game/Character/CharacterWindow.cs b/Intersect.Client/Interface/Game/Character/CharacterWindow.cs index f4c94334d8..fc28c60916 100644 --- a/Intersect.Client/Interface/Game/Character/CharacterWindow.cs +++ b/Intersect.Client/Interface/Game/Character/CharacterWindow.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen; diff --git a/Intersect.Client/Interface/Game/Character/EquipmentItem.cs b/Intersect.Client/Interface/Game/Character/EquipmentItem.cs index c582ae6f78..3f993a7e6f 100644 --- a/Intersect.Client/Interface/Game/Character/EquipmentItem.cs +++ b/Intersect.Client/Interface/Game/Character/EquipmentItem.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/Chat/Chatbox.cs b/Intersect.Client/Interface/Game/Chat/Chatbox.cs index eea8c0a5e4..659258fc94 100644 --- a/Intersect.Client/Interface/Game/Chat/Chatbox.cs +++ b/Intersect.Client/Interface/Game/Chat/Chatbox.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Core; using Intersect.Client.Core.Controls; using Intersect.Client.Framework.File_Management; @@ -14,7 +11,6 @@ using Intersect.Client.Networking; using Intersect.Configuration; using Intersect.Enums; -using Intersect.Extensions; using Intersect.Localization; using Intersect.Utilities; diff --git a/Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs b/Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs index 27970bad4f..6ee550353d 100644 --- a/Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs +++ b/Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs @@ -1,7 +1,4 @@ using Intersect.Enums; -using System.Collections.Generic; -using System.Linq; -using System.Net; namespace Intersect.Client.Interface.Game.Chat { diff --git a/Intersect.Client/Interface/Game/Crafting/CraftingWindow.cs b/Intersect.Client/Interface/Game/Crafting/CraftingWindow.cs index ec618f03fc..2140de44dd 100644 --- a/Intersect.Client/Interface/Game/Crafting/CraftingWindow.cs +++ b/Intersect.Client/Interface/Game/Crafting/CraftingWindow.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/Game/Crafting/RecipeItem.cs b/Intersect.Client/Interface/Game/Crafting/RecipeItem.cs index f76fb9a1f5..18c6f64f8e 100644 --- a/Intersect.Client/Interface/Game/Crafting/RecipeItem.cs +++ b/Intersect.Client/Interface/Game/Crafting/RecipeItem.cs @@ -1,12 +1,8 @@ -using System; - -using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Input; using Intersect.Client.Framework.Input; using Intersect.Client.General; using Intersect.Client.Interface.Game.DescriptionWindows; -using Intersect.Enums; using Intersect.GameObjects; using Intersect.GameObjects.Crafting; diff --git a/Intersect.Client/Interface/Game/DescriptionWindows/Components/RowContainerComponent.cs b/Intersect.Client/Interface/Game/DescriptionWindows/Components/RowContainerComponent.cs index 200022071b..6e92331b5f 100644 --- a/Intersect.Client/Interface/Game/DescriptionWindows/Components/RowContainerComponent.cs +++ b/Intersect.Client/Interface/Game/DescriptionWindows/Components/RowContainerComponent.cs @@ -1,6 +1,4 @@ -using System; - -using Newtonsoft.Json.Linq; +using Newtonsoft.Json.Linq; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/Game/DescriptionWindows/ItemDescriptionWindow.cs b/Intersect.Client/Interface/Game/DescriptionWindows/ItemDescriptionWindow.cs index 9df02e8d46..afd5f93403 100644 --- a/Intersect.Client/Interface/Game/DescriptionWindows/ItemDescriptionWindow.cs +++ b/Intersect.Client/Interface/Game/DescriptionWindows/ItemDescriptionWindow.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Enums; using Intersect.GameObjects; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/EscapeMenu.cs b/Intersect.Client/Interface/Game/EscapeMenu.cs index ea62b06d39..6d4ab43502 100644 --- a/Intersect.Client/Interface/Game/EscapeMenu.cs +++ b/Intersect.Client/Interface/Game/EscapeMenu.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/EventWindow.cs b/Intersect.Client/Interface/Game/EventWindow.cs index 18b9f4b75b..8010997f41 100644 --- a/Intersect.Client/Interface/Game/EventWindow.cs +++ b/Intersect.Client/Interface/Game/EventWindow.cs @@ -1,4 +1,3 @@ -using System.Linq; using Intersect.Client.Core; using Intersect.Client.Core.Controls; using Intersect.Client.Framework.File_Management; diff --git a/Intersect.Client/Interface/Game/Friends/FriendsRow.cs b/Intersect.Client/Interface/Game/Friends/FriendsRow.cs index 9602f11edb..4127750dd0 100644 --- a/Intersect.Client/Interface/Game/Friends/FriendsRow.cs +++ b/Intersect.Client/Interface/Game/Friends/FriendsRow.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Networking; using Intersect.Client.Localization; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/Game/Friends/FriendsWindow.cs b/Intersect.Client/Interface/Game/Friends/FriendsWindow.cs index 21055c4978..1333219170 100644 --- a/Intersect.Client/Interface/Game/Friends/FriendsWindow.cs +++ b/Intersect.Client/Interface/Game/Friends/FriendsWindow.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/GameInterface.cs b/Intersect.Client/Interface/Game/GameInterface.cs index d639b4b414..352a437a5d 100644 --- a/Intersect.Client/Interface/Game/GameInterface.cs +++ b/Intersect.Client/Interface/Game/GameInterface.cs @@ -1,6 +1,3 @@ -using System; - -using Intersect.Client.Core; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; using Intersect.Client.Interface.Game.Bag; diff --git a/Intersect.Client/Interface/Game/GuildWindow.cs b/Intersect.Client/Interface/Game/GuildWindow.cs index 23f1a9111c..b4b972bc61 100644 --- a/Intersect.Client/Interface/Game/GuildWindow.cs +++ b/Intersect.Client/Interface/Game/GuildWindow.cs @@ -1,16 +1,11 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; using Intersect.Client.Localization; using Intersect.Client.Networking; using Intersect.Network.Packets.Server; -using static Intersect.Client.Entities.Player; namespace Intersect.Client.Interface.Game { diff --git a/Intersect.Client/Interface/Game/Hotbar/HotBar.cs b/Intersect.Client/Interface/Game/Hotbar/HotBar.cs index 2fcba88dc8..72cc500c13 100644 --- a/Intersect.Client/Interface/Game/Hotbar/HotBar.cs +++ b/Intersect.Client/Interface/Game/Hotbar/HotBar.cs @@ -1,14 +1,8 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; -using Intersect.Client.Core.Controls; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; -using Intersect.Client.Localization; namespace Intersect.Client.Interface.Game.Hotbar { diff --git a/Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs b/Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs index a6d6fff1d3..5e905d7f53 100644 --- a/Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs +++ b/Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs @@ -1,4 +1,3 @@ -using System; using Intersect.Client.Core; using Intersect.Client.Core.Controls; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/Interface/Game/InputBox.cs b/Intersect.Client/Interface/Game/InputBox.cs index 6071ed1f05..ee63d45795 100644 --- a/Intersect.Client/Interface/Game/InputBox.cs +++ b/Intersect.Client/Interface/Game/InputBox.cs @@ -1,8 +1,5 @@ -using System; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/Inventory/InventoryItem.cs b/Intersect.Client/Interface/Game/Inventory/InventoryItem.cs index 4aa278be93..2b56f35bcc 100644 --- a/Intersect.Client/Interface/Game/Inventory/InventoryItem.cs +++ b/Intersect.Client/Interface/Game/Inventory/InventoryItem.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Core; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/Game/Inventory/InventoryWindow.cs b/Intersect.Client/Interface/Game/Inventory/InventoryWindow.cs index 45f21b76d2..0f6cbb4e19 100644 --- a/Intersect.Client/Interface/Game/Inventory/InventoryWindow.cs +++ b/Intersect.Client/Interface/Game/Inventory/InventoryWindow.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; -using System.Linq; -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/Game/MapItem/MapItemIcon.cs b/Intersect.Client/Interface/Game/MapItem/MapItemIcon.cs index d6c2eb4907..73448f9cae 100644 --- a/Intersect.Client/Interface/Game/MapItem/MapItemIcon.cs +++ b/Intersect.Client/Interface/Game/MapItem/MapItemIcon.cs @@ -1,6 +1,3 @@ -using System; - -using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Game/MapItem/MapItemWindow.cs b/Intersect.Client/Interface/Game/MapItem/MapItemWindow.cs index e97af5920f..f9f14671a8 100644 --- a/Intersect.Client/Interface/Game/MapItem/MapItemWindow.cs +++ b/Intersect.Client/Interface/Game/MapItem/MapItemWindow.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/Menu.cs b/Intersect.Client/Interface/Game/Menu.cs index e263e6c6f1..ffbe18c975 100644 --- a/Intersect.Client/Interface/Game/Menu.cs +++ b/Intersect.Client/Interface/Game/Menu.cs @@ -1,6 +1,5 @@ using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; @@ -11,7 +10,6 @@ using Intersect.Client.Localization; using Intersect.Client.Networking; using Intersect.Enums; -using Intersect.GameObjects; namespace Intersect.Client.Interface.Game { diff --git a/Intersect.Client/Interface/Game/PartyWindow.cs b/Intersect.Client/Interface/Game/PartyWindow.cs index d073e1e21b..8ac9afcf4c 100644 --- a/Intersect.Client/Interface/Game/PartyWindow.cs +++ b/Intersect.Client/Interface/Game/PartyWindow.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/PictureWindow.cs b/Intersect.Client/Interface/Game/PictureWindow.cs index c96df4684d..10793f81fc 100644 --- a/Intersect.Client/Interface/Game/PictureWindow.cs +++ b/Intersect.Client/Interface/Game/PictureWindow.cs @@ -3,7 +3,6 @@ using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; using Intersect.Client.Networking; -using System; using Intersect.Utilities; diff --git a/Intersect.Client/Interface/Game/QuestOfferWindow.cs b/Intersect.Client/Interface/Game/QuestOfferWindow.cs index 1768a9d974..43e6cdc13a 100644 --- a/Intersect.Client/Interface/Game/QuestOfferWindow.cs +++ b/Intersect.Client/Interface/Game/QuestOfferWindow.cs @@ -1,7 +1,5 @@ using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; -using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/QuestsWindow.cs b/Intersect.Client/Interface/Game/QuestsWindow.cs index 8403a7d50e..36d717e053 100644 --- a/Intersect.Client/Interface/Game/QuestsWindow.cs +++ b/Intersect.Client/Interface/Game/QuestsWindow.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; -using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/Shop/ShopItem.cs b/Intersect.Client/Interface/Game/Shop/ShopItem.cs index a00515ebad..c1ffa01ff4 100644 --- a/Intersect.Client/Interface/Game/Shop/ShopItem.cs +++ b/Intersect.Client/Interface/Game/Shop/ShopItem.cs @@ -1,6 +1,3 @@ -using System; - -using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; @@ -10,7 +7,6 @@ using Intersect.Client.General; using Intersect.Client.Interface.Game.DescriptionWindows; using Intersect.Client.Localization; -using Intersect.Client.Networking; using Intersect.Configuration; using Intersect.GameObjects; using Intersect.Network.Packets.Server; diff --git a/Intersect.Client/Interface/Game/Shop/ShopWindow.cs b/Intersect.Client/Interface/Game/Shop/ShopWindow.cs index 2cd5324e4b..19a2679d38 100644 --- a/Intersect.Client/Interface/Game/Shop/ShopWindow.cs +++ b/Intersect.Client/Interface/Game/Shop/ShopWindow.cs @@ -1,8 +1,5 @@ -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Game/Spells/SpellItem.cs b/Intersect.Client/Interface/Game/Spells/SpellItem.cs index 4db8d534b3..f97a1164f9 100644 --- a/Intersect.Client/Interface/Game/Spells/SpellItem.cs +++ b/Intersect.Client/Interface/Game/Spells/SpellItem.cs @@ -1,5 +1,3 @@ -using System; - using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; @@ -7,7 +5,6 @@ using Intersect.Client.Framework.Input; using Intersect.Client.General; using Intersect.Client.Interface.Game.DescriptionWindows; -using Intersect.Client.Localization; using Intersect.Configuration; using Intersect.GameObjects; using Intersect.Utilities; diff --git a/Intersect.Client/Interface/Game/Spells/SpellsWindow.cs b/Intersect.Client/Interface/Game/Spells/SpellsWindow.cs index 906754a887..05121fc55c 100644 --- a/Intersect.Client/Interface/Game/Spells/SpellsWindow.cs +++ b/Intersect.Client/Interface/Game/Spells/SpellsWindow.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.General; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Game/Trades/TradeSegment.cs b/Intersect.Client/Interface/Game/Trades/TradeSegment.cs index 6a4df8cd60..6f8fa55011 100644 --- a/Intersect.Client/Interface/Game/Trades/TradeSegment.cs +++ b/Intersect.Client/Interface/Game/Trades/TradeSegment.cs @@ -1,8 +1,5 @@ -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Game/Trades/TradingWindow.cs b/Intersect.Client/Interface/Game/Trades/TradingWindow.cs index e6e22e89d6..e35f32e260 100644 --- a/Intersect.Client/Interface/Game/Trades/TradingWindow.cs +++ b/Intersect.Client/Interface/Game/Trades/TradingWindow.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Game/Typewriting/Typewriter.cs b/Intersect.Client/Interface/Game/Typewriting/Typewriter.cs index 0551626b6d..7729e079d9 100644 --- a/Intersect.Client/Interface/Game/Typewriting/Typewriter.cs +++ b/Intersect.Client/Interface/Game/Typewriting/Typewriter.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Core; using Intersect.Client.Framework.Gwen.Control; using Intersect.Configuration; diff --git a/Intersect.Client/Interface/Menu/CreateCharacterWindow.cs b/Intersect.Client/Interface/Menu/CreateCharacterWindow.cs index 1a6e803ce8..e1ba0ba9dd 100644 --- a/Intersect.Client/Interface/Menu/CreateCharacterWindow.cs +++ b/Intersect.Client/Interface/Menu/CreateCharacterWindow.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; diff --git a/Intersect.Client/Interface/Menu/CreditsParser.cs b/Intersect.Client/Interface/Menu/CreditsParser.cs index 876ed1acca..f4963607e2 100644 --- a/Intersect.Client/Interface/Menu/CreditsParser.cs +++ b/Intersect.Client/Interface/Menu/CreditsParser.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -using Intersect.Client.Framework.Gwen; +using Intersect.Client.Framework.Gwen; namespace Intersect.Client.Interface.Menu { diff --git a/Intersect.Client/Interface/Menu/CreditsWindow.cs b/Intersect.Client/Interface/Menu/CreditsWindow.cs index c16b9bc5c2..3a28be94c8 100644 --- a/Intersect.Client/Interface/Menu/CreditsWindow.cs +++ b/Intersect.Client/Interface/Menu/CreditsWindow.cs @@ -1,7 +1,5 @@ -using System.IO; using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.Localization; diff --git a/Intersect.Client/Interface/Menu/ForgotPasswordWindow.cs b/Intersect.Client/Interface/Menu/ForgotPasswordWindow.cs index 91533fbf25..05a212e8b9 100644 --- a/Intersect.Client/Interface/Menu/ForgotPasswordWindow.cs +++ b/Intersect.Client/Interface/Menu/ForgotPasswordWindow.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; -using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.Framework.Input; diff --git a/Intersect.Client/Interface/Menu/MainMenu.cs b/Intersect.Client/Interface/Menu/MainMenu.cs index e91c685580..b8862d9b16 100644 --- a/Intersect.Client/Interface/Menu/MainMenu.cs +++ b/Intersect.Client/Interface/Menu/MainMenu.cs @@ -1,11 +1,8 @@ using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Gwen; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.Interface.Shared; -using Intersect.Client.Localization; -using Intersect.Client.Networking; using Intersect.Network; using Intersect.Utilities; diff --git a/Intersect.Client/Interface/Menu/MenuGuiBase.cs b/Intersect.Client/Interface/Menu/MenuGuiBase.cs index 3d8b20f388..44b6cee3fc 100644 --- a/Intersect.Client/Interface/Menu/MenuGuiBase.cs +++ b/Intersect.Client/Interface/Menu/MenuGuiBase.cs @@ -1,8 +1,5 @@ -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Localization; using Intersect.Client.Networking; diff --git a/Intersect.Client/Interface/Menu/RegisterWindow.cs b/Intersect.Client/Interface/Menu/RegisterWindow.cs index c751ede404..13130ab55f 100644 --- a/Intersect.Client/Interface/Menu/RegisterWindow.cs +++ b/Intersect.Client/Interface/Menu/RegisterWindow.cs @@ -1,11 +1,8 @@ -using System; -using System.Collections.Generic; -using System.Security.Cryptography; +using System.Security.Cryptography; using System.Text; using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.General; diff --git a/Intersect.Client/Interface/Menu/ResetPasswordWindow.cs b/Intersect.Client/Interface/Menu/ResetPasswordWindow.cs index 2282778944..89e4920e17 100644 --- a/Intersect.Client/Interface/Menu/ResetPasswordWindow.cs +++ b/Intersect.Client/Interface/Menu/ResetPasswordWindow.cs @@ -1,11 +1,8 @@ -using System; -using System.Collections.Generic; -using System.Security.Cryptography; +using System.Security.Cryptography; using System.Text; using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Control.EventArguments; using Intersect.Client.Framework.Input; diff --git a/Intersect.Client/Interface/Menu/SelectCharacterWindow.cs b/Intersect.Client/Interface/Menu/SelectCharacterWindow.cs index f3a49520d7..eddf75bee8 100644 --- a/Intersect.Client/Interface/Menu/SelectCharacterWindow.cs +++ b/Intersect.Client/Interface/Menu/SelectCharacterWindow.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Gwen.Control; diff --git a/Intersect.Client/Interface/MutableInterface.cs b/Intersect.Client/Interface/MutableInterface.cs index 23c99c9e0f..0ea07d7050 100644 --- a/Intersect.Client/Interface/MutableInterface.cs +++ b/Intersect.Client/Interface/MutableInterface.cs @@ -2,10 +2,6 @@ using Intersect.Client.Interface.Debugging; using Intersect.Reflection; -using System; -using System.Collections.Generic; -using System.Linq; - namespace Intersect.Client.Interface { diff --git a/Intersect.Client/Interface/Shared/Errors/ErrorWindow.cs b/Intersect.Client/Interface/Shared/Errors/ErrorWindow.cs index 7fa2a84485..082f0d6747 100644 --- a/Intersect.Client/Interface/Shared/Errors/ErrorWindow.cs +++ b/Intersect.Client/Interface/Shared/Errors/ErrorWindow.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Core; +using Intersect.Client.Core; using Intersect.Client.Framework.File_Management; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Interface.Game; diff --git a/Intersect.Client/Interface/Shared/SettingsWindow.cs b/Intersect.Client/Interface/Shared/SettingsWindow.cs index 0f41214873..c7a76da1fd 100644 --- a/Intersect.Client/Interface/Shared/SettingsWindow.cs +++ b/Intersect.Client/Interface/Shared/SettingsWindow.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Intersect.Client.Core; using Intersect.Client.Core.Controls; -using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen; diff --git a/Intersect.Client/Items/MapItemInstance.cs b/Intersect.Client/Items/MapItemInstance.cs index 70410d3c1d..6cb840005f 100644 --- a/Intersect.Client/Items/MapItemInstance.cs +++ b/Intersect.Client/Items/MapItemInstance.cs @@ -1,4 +1,3 @@ -using System; using Intersect.Client.Framework.Items; using Intersect.Network.Packets.Server; using Newtonsoft.Json; diff --git a/Intersect.Client/Maps/MapAnimation.cs b/Intersect.Client/Maps/MapAnimation.cs index ddcc590bf9..4051f14e17 100644 --- a/Intersect.Client/Maps/MapAnimation.cs +++ b/Intersect.Client/Maps/MapAnimation.cs @@ -1,7 +1,6 @@ using Intersect.Client.Entities; using Intersect.Client.Framework.Maps; using Intersect.GameObjects; -using System; using Intersect.Enums; namespace Intersect.Client.Maps diff --git a/Intersect.Client/Maps/MapGrid.cs b/Intersect.Client/Maps/MapGrid.cs index e5069e140a..fd0af3e83c 100644 --- a/Intersect.Client/Maps/MapGrid.cs +++ b/Intersect.Client/Maps/MapGrid.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.General; +using Intersect.Client.General; using Intersect.Client.Framework.Maps; namespace Intersect.Client.Maps diff --git a/Intersect.Client/Maps/MapInstance.cs b/Intersect.Client/Maps/MapInstance.cs index 6e98fc6ee0..ca24650c26 100644 --- a/Intersect.Client/Maps/MapInstance.cs +++ b/Intersect.Client/Maps/MapInstance.cs @@ -1,8 +1,5 @@ -using System; -using System.Linq; -using System.Diagnostics; +using System.Diagnostics; using System.Collections.Concurrent; -using System.Collections.Generic; using Intersect.Client.Core; using Intersect.Client.Entities; @@ -18,7 +15,6 @@ using Intersect.Client.Localization; using Intersect.Compression; using Intersect.Enums; -using Intersect.Extensions; using Intersect.GameObjects; using Intersect.GameObjects.Maps; using Intersect.Network.Packets.Server; diff --git a/Intersect.Client/Maps/WeatherParticle.cs b/Intersect.Client/Maps/WeatherParticle.cs index b7d6ee224b..82c8a0c0e9 100644 --- a/Intersect.Client/Maps/WeatherParticle.cs +++ b/Intersect.Client/Maps/WeatherParticle.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Intersect.Client.Core; using Intersect.Client.Entities; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/MonoGame/Audio/MonoAudioInstance.cs b/Intersect.Client/MonoGame/Audio/MonoAudioInstance.cs index cdc5047b8b..9d6473c0a0 100644 --- a/Intersect.Client/MonoGame/Audio/MonoAudioInstance.cs +++ b/Intersect.Client/MonoGame/Audio/MonoAudioInstance.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.Framework.Audio; +using Intersect.Client.Framework.Audio; namespace Intersect.Client.MonoGame.Audio { diff --git a/Intersect.Client/MonoGame/Audio/MonoMusicInstance.cs b/Intersect.Client/MonoGame/Audio/MonoMusicInstance.cs index 78114849d4..91597a334b 100644 --- a/Intersect.Client/MonoGame/Audio/MonoMusicInstance.cs +++ b/Intersect.Client/MonoGame/Audio/MonoMusicInstance.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.General; +using Intersect.Client.General; using Microsoft.Xna.Framework.Audio; diff --git a/Intersect.Client/MonoGame/Audio/MonoMusicSource.cs b/Intersect.Client/MonoGame/Audio/MonoMusicSource.cs index 95d68f2dc5..407a71cafa 100644 --- a/Intersect.Client/MonoGame/Audio/MonoMusicSource.cs +++ b/Intersect.Client/MonoGame/Audio/MonoMusicSource.cs @@ -1,10 +1,4 @@ -using System; -using System.IO; -using System.Linq; -using System.Threading; - using Intersect.Client.Framework.Audio; -using Intersect.Client.Framework.Content; using Intersect.Client.General; using Intersect.Client.Interface.Game.Chat; using Intersect.Client.Localization; diff --git a/Intersect.Client/MonoGame/Audio/MonoSoundInstance.cs b/Intersect.Client/MonoGame/Audio/MonoSoundInstance.cs index 7aafb3ea87..18a477a2a8 100644 --- a/Intersect.Client/MonoGame/Audio/MonoSoundInstance.cs +++ b/Intersect.Client/MonoGame/Audio/MonoSoundInstance.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.General; +using Intersect.Client.General; using Microsoft.Xna.Framework.Audio; diff --git a/Intersect.Client/MonoGame/Audio/MonoSoundSource.cs b/Intersect.Client/MonoGame/Audio/MonoSoundSource.cs index 01ba848c2c..07a9ca69c1 100644 --- a/Intersect.Client/MonoGame/Audio/MonoSoundSource.cs +++ b/Intersect.Client/MonoGame/Audio/MonoSoundSource.cs @@ -1,8 +1,4 @@ -using System; -using System.IO; - using Intersect.Client.Framework.Audio; -using Intersect.Client.Framework.Content; using Intersect.Client.General; using Intersect.Client.Interface.Game.Chat; using Intersect.Client.Localization; diff --git a/Intersect.Client/MonoGame/Database/MonoDatabase.cs b/Intersect.Client/MonoGame/Database/MonoDatabase.cs index 251bb8f552..3bdd4528d5 100644 --- a/Intersect.Client/MonoGame/Database/MonoDatabase.cs +++ b/Intersect.Client/MonoGame/Database/MonoDatabase.cs @@ -1,7 +1,3 @@ -using System; -using System.Diagnostics; -using System.Linq; - using Intersect.Client.Framework.Database; using Intersect.Configuration; using Intersect.Logging; diff --git a/Intersect.Client/MonoGame/File Management/MonoContentManager.cs b/Intersect.Client/MonoGame/File Management/MonoContentManager.cs index 6ba82c14f4..150bde9d13 100644 --- a/Intersect.Client/MonoGame/File Management/MonoContentManager.cs +++ b/Intersect.Client/MonoGame/File Management/MonoContentManager.cs @@ -1,9 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; - using Intersect.Client.Framework.Content; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/MonoGame/Graphics/MonoFont.cs b/Intersect.Client/MonoGame/Graphics/MonoFont.cs index c5dece1b20..2187ef1e45 100644 --- a/Intersect.Client/MonoGame/Graphics/MonoFont.cs +++ b/Intersect.Client/MonoGame/Graphics/MonoFont.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -using Intersect.Client.Framework.File_Management; +using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Graphics; using Intersect.Logging; diff --git a/Intersect.Client/MonoGame/Graphics/MonoRenderer.cs b/Intersect.Client/MonoGame/Graphics/MonoRenderer.cs index 6431cd0875..69cdbe9eee 100644 --- a/Intersect.Client/MonoGame/Graphics/MonoRenderer.cs +++ b/Intersect.Client/MonoGame/Graphics/MonoRenderer.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; using System.Diagnostics; using System.Globalization; -using System.IO; -using System.Linq; using Intersect.Client.Classes.MonoGame.Graphics; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.GenericClasses; diff --git a/Intersect.Client/MonoGame/Graphics/MonoShader.cs b/Intersect.Client/MonoGame/Graphics/MonoShader.cs index eb3b9fdc4e..f6e75d6228 100644 --- a/Intersect.Client/MonoGame/Graphics/MonoShader.cs +++ b/Intersect.Client/MonoGame/Graphics/MonoShader.cs @@ -5,8 +5,6 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; -using System.Collections.Generic; -using System.IO; namespace Intersect.Client.MonoGame.Graphics { diff --git a/Intersect.Client/MonoGame/Graphics/MonoTexture.cs b/Intersect.Client/MonoGame/Graphics/MonoTexture.cs index b1b1abf625..f4b03bd7be 100644 --- a/Intersect.Client/MonoGame/Graphics/MonoTexture.cs +++ b/Intersect.Client/MonoGame/Graphics/MonoTexture.cs @@ -1,7 +1,4 @@ -using System; -using System.IO; - -using Intersect.Client.Framework.Graphics; +using Intersect.Client.Framework.Graphics; using Intersect.Client.Interface.Game.Chat; using Intersect.Client.Localization; using Intersect.Compression; diff --git a/Intersect.Client/MonoGame/Graphics/MonoTileBuffer.cs b/Intersect.Client/MonoGame/Graphics/MonoTileBuffer.cs index 2d80c511e3..16250f66db 100644 --- a/Intersect.Client/MonoGame/Graphics/MonoTileBuffer.cs +++ b/Intersect.Client/MonoGame/Graphics/MonoTileBuffer.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; - -using Intersect.Client.Framework.GenericClasses; +using Intersect.Client.Framework.GenericClasses; using Intersect.Client.Framework.Graphics; using Microsoft.Xna.Framework; diff --git a/Intersect.Client/MonoGame/Input/MonoInput.cs b/Intersect.Client/MonoGame/Input/MonoInput.cs index d24d202d81..afb529d030 100644 --- a/Intersect.Client/MonoGame/Input/MonoInput.cs +++ b/Intersect.Client/MonoGame/Input/MonoInput.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; using System.Diagnostics; using Intersect.Client.Framework.GenericClasses; -using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Input; using Intersect.Client.Framework.Input; @@ -14,7 +11,6 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; -using Steamworks; using Keys = Intersect.Client.Framework.GenericClasses.Keys; using Rectangle = Intersect.Client.Framework.GenericClasses.Rectangle; diff --git a/Intersect.Client/MonoGame/IntersectGame.cs b/Intersect.Client/MonoGame/IntersectGame.cs index 03df3ee736..d5b2ef9e81 100644 --- a/Intersect.Client/MonoGame/IntersectGame.cs +++ b/Intersect.Client/MonoGame/IntersectGame.cs @@ -6,7 +6,6 @@ using Intersect.Client.General; using Intersect.Client.Interface.Game; using Intersect.Client.Localization; -using Intersect.Client.MonoGame.Database; using Intersect.Client.MonoGame.File_Management; using Intersect.Client.MonoGame.Graphics; using Intersect.Client.MonoGame.Input; @@ -16,11 +15,7 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; - -using System; using System.Diagnostics; -using System.IO; -using System.Linq; using System.Reflection; using Intersect.Client.Framework.Database; using Intersect.Client.Framework.Graphics; diff --git a/Intersect.Client/MonoGame/NativeInterop/DllLoader.cs b/Intersect.Client/MonoGame/NativeInterop/DllLoader.cs index 329f83a8d3..62ffd3418e 100644 --- a/Intersect.Client/MonoGame/NativeInterop/DllLoader.cs +++ b/Intersect.Client/MonoGame/NativeInterop/DllLoader.cs @@ -1,4 +1,3 @@ -using System; using System.Runtime.InteropServices; namespace Intersect.Client.MonoGame.NativeInterop diff --git a/Intersect.Client/MonoGame/NativeInterop/FunctionLoader.cs b/Intersect.Client/MonoGame/NativeInterop/FunctionLoader.cs index 707c9b2330..0faba01b12 100644 --- a/Intersect.Client/MonoGame/NativeInterop/FunctionLoader.cs +++ b/Intersect.Client/MonoGame/NativeInterop/FunctionLoader.cs @@ -1,5 +1,3 @@ -using System; - namespace Intersect.Client.MonoGame.NativeInterop { public sealed class FunctionLoader diff --git a/Intersect.Client/MonoGame/NativeInterop/Sdl2.Video.cs b/Intersect.Client/MonoGame/NativeInterop/Sdl2.Video.cs index 50eb6a599f..8355108cda 100644 --- a/Intersect.Client/MonoGame/NativeInterop/Sdl2.Video.cs +++ b/Intersect.Client/MonoGame/NativeInterop/Sdl2.Video.cs @@ -1,4 +1,3 @@ -using System; using System.Runtime.InteropServices; namespace Intersect.Client.MonoGame.NativeInterop diff --git a/Intersect.Client/MonoGame/NativeInterop/Sdl2.cs b/Intersect.Client/MonoGame/NativeInterop/Sdl2.cs index 028c7b186f..261fce922c 100644 --- a/Intersect.Client/MonoGame/NativeInterop/Sdl2.cs +++ b/Intersect.Client/MonoGame/NativeInterop/Sdl2.cs @@ -1,4 +1,3 @@ -using System; using System.Runtime.InteropServices; using System.Text; diff --git a/Intersect.Client/Networking/NetworkStatus.cs b/Intersect.Client/Networking/NetworkStatus.cs index 86fe973ec7..4ce2e5aa1d 100644 --- a/Intersect.Client/Networking/NetworkStatus.cs +++ b/Intersect.Client/Networking/NetworkStatus.cs @@ -1,6 +1,4 @@ -using System; - -using Intersect.Client.Localization; +using Intersect.Client.Localization; using Intersect.Network; namespace Intersect.Client.Networking diff --git a/Intersect.Client/Networking/PacketHandler.cs b/Intersect.Client/Networking/PacketHandler.cs index d1999806fe..50d2d801c0 100644 --- a/Intersect.Client/Networking/PacketHandler.cs +++ b/Intersect.Client/Networking/PacketHandler.cs @@ -22,12 +22,6 @@ using Intersect.Network.Packets; using Intersect.Network.Packets.Server; using Intersect.Utilities; - -using System; -using System.Collections.Generic; -using System.Linq; -using Intersect.Client.Framework.Network; -using Intersect.Client.Plugins.Helpers; using Intersect.Framework; using Intersect.Models; using MapAttribute = Intersect.Enums.MapAttribute; diff --git a/Intersect.Client/Networking/PacketSender.cs b/Intersect.Client/Networking/PacketSender.cs index 92aea052cf..0ffc1fc0c0 100644 --- a/Intersect.Client/Networking/PacketSender.cs +++ b/Intersect.Client/Networking/PacketSender.cs @@ -1,6 +1,3 @@ -using System; - -using Intersect.Admin.Actions; using Intersect.Client.Entities.Events; using Intersect.Client.General; using Intersect.Client.Interface.Game; diff --git a/Intersect.Client/Plugins/Audio/AudioManager.cs b/Intersect.Client/Plugins/Audio/AudioManager.cs index 0ec05bb5b2..5238921aa2 100644 --- a/Intersect.Client/Plugins/Audio/AudioManager.cs +++ b/Intersect.Client/Plugins/Audio/AudioManager.cs @@ -1,7 +1,6 @@ using Intersect.Client.Framework.Audio; using Intersect.Client.Framework.Core.Sounds; using Intersect.Client.Framework.Entities; -using System; namespace Intersect.Client.Plugins.Audio { diff --git a/Intersect.Client/Plugins/Contexts/ClientPluginContext.cs b/Intersect.Client/Plugins/Contexts/ClientPluginContext.cs index 52a441619f..6edfe96ed6 100644 --- a/Intersect.Client/Plugins/Contexts/ClientPluginContext.cs +++ b/Intersect.Client/Plugins/Contexts/ClientPluginContext.cs @@ -1,6 +1,4 @@ -using System; -using Intersect.Client.Core; -using Intersect.Client.Framework.Audio; +using Intersect.Client.Framework.Audio; using Intersect.Client.Framework.Content; using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Input; diff --git a/Intersect.Client/Plugins/Helpers/ClientLifecycleHelper.cs b/Intersect.Client/Plugins/Helpers/ClientLifecycleHelper.cs index a83fdbcce9..aeecc1a7a4 100644 --- a/Intersect.Client/Plugins/Helpers/ClientLifecycleHelper.cs +++ b/Intersect.Client/Plugins/Helpers/ClientLifecycleHelper.cs @@ -4,8 +4,6 @@ using Intersect.Client.Interface; using Intersect.Client.Plugins.Interfaces; using Intersect.Plugins.Helpers; -using System; -using System.Collections.Generic; namespace Intersect.Client.Plugins.Helpers { diff --git a/Intersect.Client/Plugins/Helpers/ClientNetworkHelper.cs b/Intersect.Client/Plugins/Helpers/ClientNetworkHelper.cs index c08759eb57..a9b3443924 100644 --- a/Intersect.Client/Plugins/Helpers/ClientNetworkHelper.cs +++ b/Intersect.Client/Plugins/Helpers/ClientNetworkHelper.cs @@ -1,9 +1,6 @@ -using System; - -using Intersect.Client.Framework.Plugins.Interfaces; +using Intersect.Client.Framework.Plugins.Interfaces; using Intersect.Client.MonoGame.Network; using Intersect.Network; -using Intersect.Plugins.Helpers; using Intersect.Plugins.Interfaces; namespace Intersect.Client.Plugins.Helpers diff --git a/Intersect.Client/Plugins/Helpers/PluginPacketSender.cs b/Intersect.Client/Plugins/Helpers/PluginPacketSender.cs index 9909c44a5f..350a23d795 100644 --- a/Intersect.Client/Plugins/Helpers/PluginPacketSender.cs +++ b/Intersect.Client/Plugins/Helpers/PluginPacketSender.cs @@ -1,7 +1,4 @@ -using System; -using System.Linq; - -using Intersect.Core; +using Intersect.Core; using Intersect.Network; using Intersect.Plugins.Interfaces; diff --git a/Intersect.Client/Program.cs b/Intersect.Client/Program.cs index b374d38137..25ae6d7406 100644 --- a/Intersect.Client/Program.cs +++ b/Intersect.Client/Program.cs @@ -10,7 +10,6 @@ using Intersect.Extensions; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; -using Steamworks; namespace Intersect.Client { diff --git a/Intersect.Client/Spells/Spell.cs b/Intersect.Client/Spells/Spell.cs index 837bfde5c9..cfe6c1546d 100644 --- a/Intersect.Client/Spells/Spell.cs +++ b/Intersect.Client/Spells/Spell.cs @@ -1,6 +1,4 @@ -using System; - -namespace Intersect.Client.Spells +namespace Intersect.Client.Spells { public partial class Spell