Skip to content

Commit

Permalink
chore: removes unnecessary and implicit usings from the client (Ascen…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arufonsu authored and cydyn committed Jul 3, 2024
1 parent 2f50803 commit 2127e4e
Show file tree
Hide file tree
Showing 108 changed files with 39 additions and 341 deletions.
3 changes: 0 additions & 3 deletions Intersect.Client/Core/Audio.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 0 additions & 5 deletions Intersect.Client/Core/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Core/ClientCommandLineOptions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using CommandLine;

using System.Collections.Generic;
using System.IO;
using System.Linq;

using Intersect.Client.Framework.Graphics;
using Intersect.Core;

Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Core/Controls/Controls.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Core/Fade.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Intersect.Client.Networking;
using Intersect.Configuration;
using Intersect.Utilities;

namespace Intersect.Client.Core
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Core/Graphics.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -13,7 +10,6 @@
using Intersect.Enums;
using Intersect.GameObjects;
using Intersect.Utilities;
using Newtonsoft.Json;

namespace Intersect.Client.Core
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client/Core/IPlatformRunner.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Core
namespace Intersect.Client.Core
{
/// <summary>
/// Declares the API surface to launch instances of platform-specific (e.g. MonoGame, Unity) runners.
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Core/Input.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Intersect.Admin.Actions;
using Intersect.Client.Core.Controls;
using Intersect.Client.Framework.GenericClasses;
Expand Down
5 changes: 0 additions & 5 deletions Intersect.Client/Core/Main.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 1 addition & 2 deletions Intersect.Client/Core/Sounds/MapSound.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Entities/Animation.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Core;
using Intersect.Client.Core.Sounds;
using Intersect.Client.Framework.Entities;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Entities/ChatBubble.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Core;
using Intersect.Client.Framework.Entities;
using Intersect.Client.Framework.GenericClasses;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Entities/Critter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
using Intersect.GameObjects;
using Intersect.GameObjects.Maps;
using Intersect.Utilities;
using System;
using System.Collections.Generic;

namespace Intersect.Client.Entities
{
Expand Down
3 changes: 1 addition & 2 deletions Intersect.Client/Entities/Dash.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client/Entities/Events/Dialog.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Entities.Events
namespace Intersect.Client.Entities.Events
{

public partial class Dialog
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Entities/Events/Event.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

using Intersect.Client.Core;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Graphics;
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client/Entities/Events/Hold.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Entities.Events
namespace Intersect.Client.Entities.Events
{

public partial class Hold
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Entities/HotbarInstance.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Intersect.Client.Framework.Entities;
using Intersect.Enums;
using Newtonsoft.Json;
using System;

namespace Intersect.Client.Entities
{
Expand Down
3 changes: 1 addition & 2 deletions Intersect.Client/Entities/PartyMember.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Intersect.Client.Framework.Entities;
using Intersect.Client.Framework.Entities;
using Intersect.Enums;

namespace Intersect.Client.Entities
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Entities/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Entities/Resource.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 1 addition & 2 deletions Intersect.Client/Entities/Status.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Intersect.Client.Framework.Entities;
using Intersect.Client.Framework.Entities;
using Intersect.Enums;
using Intersect.Utilities;

Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/General/Globals.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

using Intersect.Client.Entities;
using Intersect.Client.Entities.Events;
using Intersect.Client.Framework.Database;
Expand All @@ -15,7 +12,6 @@
using Intersect.Enums;
using Intersect.GameObjects;
using Intersect.Network.Packets.Server;
using Intersect.Utilities;

namespace Intersect.Client.General
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client/General/Time.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Utilities;
using Intersect.Utilities;

namespace Intersect.Client.General
{
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Interface/Game/AdminWindow.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Admin.Actions;
using Intersect.Client.Core;
using Intersect.Client.Framework.Gwen;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Interface/Game/Bag/BagItem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.Control;
using Intersect.Client.Framework.Gwen.Control.EventArguments;
Expand Down
6 changes: 1 addition & 5 deletions Intersect.Client/Interface/Game/Bag/BagWindow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client/Interface/Game/BanMuteBox.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Interface/Game/Bank/BankItem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.Control;
using Intersect.Client.Framework.Gwen.Control.EventArguments;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Interface/Game/Bank/BankWindow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Interface/Game/Character/CharacterWindow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Interface/Game/Character/EquipmentItem.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Interface/Game/Chat/Chatbox.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -14,7 +11,6 @@
using Intersect.Client.Networking;
using Intersect.Configuration;
using Intersect.Enums;
using Intersect.Extensions;
using Intersect.Localization;
using Intersect.Utilities;

Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Interface/Game/Chat/ChatboxMsg.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Intersect.Enums;
using System.Collections.Generic;
using System.Linq;
using System.Net;

namespace Intersect.Client.Interface.Game.Chat
{
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Interface/Game/Crafting/CraftingWindow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client/Interface/Game/Crafting/RecipeItem.cs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Linq;

using Intersect.Client.Framework.Gwen.Control;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

using Intersect.Enums;
using Intersect.GameObjects;
using Intersect.Client.General;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client/Interface/Game/EscapeMenu.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Core;
using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.Gwen.Control;
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Interface/Game/EventWindow.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using Intersect.Client.Core;
using Intersect.Client.Core.Controls;
using Intersect.Client.Framework.File_Management;
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client/Interface/Game/Friends/FriendsRow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client/Interface/Game/Friends/FriendsWindow.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client/Interface/Game/GameInterface.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
7 changes: 1 addition & 6 deletions Intersect.Client/Interface/Game/GuildWindow.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
8 changes: 1 addition & 7 deletions Intersect.Client/Interface/Game/Hotbar/HotBar.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client/Interface/Game/Hotbar/HotbarItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Intersect.Client.Core;
using Intersect.Client.Core.Controls;
using Intersect.Client.Framework.GenericClasses;
Expand Down
Loading

0 comments on commit 2127e4e

Please sign in to comment.