Skip to content

Commit

Permalink
chore: removes unnecessary and implicit usings from client framework (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arufonsu authored and cydyn committed Jul 11, 2024
1 parent 04e358a commit 7633205
Show file tree
Hide file tree
Showing 107 changed files with 68 additions and 312 deletions.
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Audio/IAudioManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.Core.Sounds;
using Intersect.Client.Framework.Core.Sounds;
using Intersect.Client.Framework.Entities;

namespace Intersect.Client.Framework.Audio
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client.Framework/Content/AssetTypeAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@

using System;

namespace Intersect.Client.Framework.Content
namespace Intersect.Client.Framework.Content
{

[AttributeUsage(AttributeTargets.Field)]
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Content/ContentTypes.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.Audio;
using Intersect.Client.Framework.Audio;
using Intersect.Client.Framework.Graphics;

namespace Intersect.Client.Framework.Content
Expand Down
6 changes: 1 addition & 5 deletions Intersect.Client.Framework/Content/ContentTypesExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@

using System;
using System.Linq;

namespace Intersect.Client.Framework.Content
namespace Intersect.Client.Framework.Content
{

public static partial class ContentTypesExtensions
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client.Framework/Content/ContentWatcher.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

namespace Intersect.Client.Framework.Content
{
Expand Down
8 changes: 1 addition & 7 deletions Intersect.Client.Framework/Content/TextureType.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

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

namespace Intersect.Client.Framework.Core.Sounds
namespace Intersect.Client.Framework.Core.Sounds
{
public interface IMapSound : ISound
{
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client.Framework/Database/GameDatabase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Intersect.Enums;

namespace Intersect.Client.Framework.Database
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Database/JsonDatabase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using Intersect.Configuration;
using Intersect.Logging;
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client.Framework/Entities/IAnimation.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Intersect.GameObjects;
using System;
using Intersect.Enums;

namespace Intersect.Client.Framework.Entities
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Entities/IEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using Intersect.Client.Framework.Items;
using Intersect.Client.Framework.Maps;
using Intersect.Enums;
using System;
using System.Collections.Generic;

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

namespace Intersect.Client.Framework.Entities
namespace Intersect.Client.Framework.Entities
{
public interface IHotbarInstance
{
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Entities/IPartyMember.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Framework.Entities
namespace Intersect.Client.Framework.Entities
{
public interface IPartyMember
{
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client.Framework/Entities/IPlayer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Collections.Generic;

using Intersect.Config.Guilds;
using Intersect.Enums;
using Intersect.GameObjects;
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client.Framework/Entities/IStatus.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Intersect.Enums;
using System;

namespace Intersect.Client.Framework.Entities
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

using Intersect.Async;
using Intersect.Client.Framework.Audio;
using Intersect.Client.Framework.Content;
Expand Down
3 changes: 1 addition & 2 deletions Intersect.Client.Framework/GenericClasses/FloatRect.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.CompilerServices;

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

namespace Intersect.Client.Framework.GenericClasses
namespace Intersect.Client.Framework.GenericClasses
{

public partial struct Pointf
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/GenericClasses/Rectangle.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Intersect.Client.Framework.GenericClasses
{

Expand Down
6 changes: 1 addition & 5 deletions Intersect.Client.Framework/Graphics/GameRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;

namespace Intersect.Client.Framework.Graphics
{
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Client.Framework/Graphics/GameTexture.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;

using Intersect.Client.Framework.Content;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Logging;
using MathNet.Numerics.Random;

namespace Intersect.Client.Framework.Graphics
{
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client.Framework/Graphics/GameTexturePack.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Linq;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;

namespace Intersect.Client.Framework.Graphics
{
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Graphics/IGameRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Intersect.Client.Framework.GenericClasses;
using System.Collections.Generic;
using System.IO;

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

namespace Intersect.Client.Framework.Graphics
namespace Intersect.Client.Framework.Graphics
{

public partial struct Resolution : IComparable<Resolution>
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client.Framework/Gwen/Anim/Animation.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

using Intersect.Client.Framework.Gwen.Control;
using Intersect.Client.Framework.Gwen.Control;

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

namespace Intersect.Client.Framework.Gwen.Anim.Size
namespace Intersect.Client.Framework.Gwen.Anim.Size
{

partial class Width : TimedAnimation
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Gwen/Anim/TimedAnimation.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Framework.Gwen.Anim
namespace Intersect.Client.Framework.Gwen.Anim
{

// Timed animation. Provides a useful base for animations.
Expand Down
1 change: 0 additions & 1 deletion Intersect.Client.Framework/Gwen/Control/Button.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Intersect.Client.Framework.Content;
using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.Graphics;
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Client.Framework/Gwen/Control/Canvas.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.Anim;
using Intersect.Client.Framework.Gwen.DragDrop;
using Intersect.Client.Framework.Gwen.Input;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Gwen/Control/CheckBox.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.Graphics;

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

using Intersect.Client.Framework.Gwen.Control.EventArguments;
using Intersect.Client.Framework.Gwen.Control.EventArguments;
using Intersect.Client.Framework.Gwen.ControlInternal;

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

using Intersect.Client.Framework.Gwen.Control.EventArguments;
using Intersect.Client.Framework.Gwen.Control.EventArguments;

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

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.Input;

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

using Intersect.Client.Framework.Gwen.ControlInternal;
using Intersect.Client.Framework.Gwen.ControlInternal;

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

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Graphics;
using Intersect.Client.Framework.Gwen.Input;

Expand Down
4 changes: 0 additions & 4 deletions Intersect.Client.Framework/Gwen/Control/ComboBox.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.Framework.Gwen.Control.EventArguments;
using Intersect.Client.Framework.Gwen.ControlInternal;
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Gwen/Control/CrossSplitter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.ControlInternal;

namespace Intersect.Client.Framework.Gwen.Control
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace Intersect.Client.Framework.Gwen.Control.Data
{
public partial class CellDataChangedEventArgs : EventArgs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;

using Intersect.Async;

namespace Intersect.Client.Framework.Gwen.Control.Data
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Gwen/Control/DockBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.ControlInternal;
using Intersect.Client.Framework.Gwen.DragDrop;

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

namespace Intersect.Client.Framework.Gwen.Control
namespace Intersect.Client.Framework.Gwen.Control
{

public partial class EnumRadioButtonGroup<T> : RadioButtonGroup where T : struct, IConvertible
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Framework.Gwen.Control.EventArguments
namespace Intersect.Client.Framework.Gwen.Control.EventArguments
{

public partial class ClickedEventArgs : EventArgs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Intersect.Client.Framework.Gwen.Control.EventArguments
namespace Intersect.Client.Framework.Gwen.Control.EventArguments
{

public partial class ItemSelectedEventArgs : EventArgs
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Client.Framework/Gwen/Control/HSVColorPicker.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.Gwen.ControlInternal;
using Intersect.Client.Framework.Gwen.ControlInternal;

namespace Intersect.Client.Framework.Gwen.Control
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

using Intersect.Client.Framework.Gwen.Input;
using Intersect.Client.Framework.Gwen.Input;

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

namespace Intersect.Client.Framework.Gwen.Control
namespace Intersect.Client.Framework.Gwen.Control
{

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

using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Gwen.ControlInternal;

namespace Intersect.Client.Framework.Gwen.Control
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Gwen/Control/Label.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.Graphics;
using Intersect.Client.Framework.Gwen.Control.EventArguments;
Expand Down
2 changes: 0 additions & 2 deletions Intersect.Client.Framework/Gwen/Control/LabeledCheckBox.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

using Intersect.Client.Framework.Graphics;
using Intersect.Client.Framework.Gwen.Control.EventArguments;

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

using Intersect.Client.Framework.File_Management;
using Intersect.Client.Framework.GenericClasses;
using Intersect.Client.Framework.Graphics;
using Intersect.Client.Framework.Gwen.ControlInternal;
using Intersect.Client.Framework.Gwen.Input;

using Newtonsoft.Json.Linq;

Expand Down
Loading

0 comments on commit 7633205

Please sign in to comment.