Skip to content

Commit

Permalink
remove unused namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Sep 16, 2024
1 parent d9065d1 commit 5cadeec
Show file tree
Hide file tree
Showing 27 changed files with 8 additions and 77 deletions.
1 change: 0 additions & 1 deletion Winch.Examples/ExampleItems/ExampleItemsSaveDataTwo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using System;
using System.ComponentModel;

namespace ExampleItems;
Expand Down
7 changes: 1 addition & 6 deletions Winch.Examples/ExampleItems/ExampleRecipeData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine;
using UnityEngine.Localization;
using Winch.Core;
using Winch.Data.Recipe;
Expand Down
5 changes: 1 addition & 4 deletions Winch/Components/ExtendedSaveSingleton.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Newtonsoft.Json.Linq;
using UnityEngine;
using UnityEngine;
using Winch.Core;
using Winch.Data;
using Winch.Util;

namespace Winch.Components;

Expand Down
7 changes: 1 addition & 6 deletions Winch/Components/ModdedRecipeTooltipRequester.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Winch.Data.Recipe;
using Winch.Data.Recipe;

namespace Winch.Components;

Expand Down
5 changes: 0 additions & 5 deletions Winch/Data/Boat/BoatBuntingData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Sirenix.OdinInspector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Winch.Data.Boat;

Expand Down
5 changes: 0 additions & 5 deletions Winch/Data/Boat/BoatColorData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Sirenix.OdinInspector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Winch.Data.Boat;

Expand Down
5 changes: 0 additions & 5 deletions Winch/Data/Boat/BoatFlagData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Sirenix.OdinInspector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using Winch.Data.Item;
using Winch.Util;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using Winch.Util;

namespace Winch.Data.ConstructableBuilding;

Expand Down
4 changes: 1 addition & 3 deletions Winch/Data/Item/FlagItemData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Winch.Data.Boat;

namespace Winch.Data.Item;
namespace Winch.Data.Item;

public class FlagItemData : HarvestableItemData
{
Expand Down
7 changes: 1 addition & 6 deletions Winch/Data/Recipe/DeferredRecipeData.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Winch.Util;
using Winch.Util;

namespace Winch.Data.Recipe;

Expand Down
4 changes: 0 additions & 4 deletions Winch/Data/Recipe/ModdedRecipeData.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Localization;
using Winch.Util;
Expand Down
1 change: 0 additions & 1 deletion Winch/Data/Upgrade/DeferredUpgradeData.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Winch.Util;

namespace Winch.Data.Upgrade;
Expand Down
1 change: 0 additions & 1 deletion Winch/Patches/API/ConstructableBuildingManagerPatcher.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using HarmonyLib;
using Winch.Core.API;
using Winch.Util;

namespace Winch.Patches.API;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using System;
using HarmonyLib;
using InControl;
using HarmonyLib;
using UnityEngine.Localization;
using UnityEngine.Localization.Settings;
using UnityEngine.Localization.Tables;
using UnityEngine.UIElements;
using Winch.Core;
using Winch.Util;
using Yarn;
using Yarn.Unity;
Expand Down
1 change: 0 additions & 1 deletion Winch/Serialization/DredgeTypeHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
using Winch.Serialization.Vibration;
using Winch.Serialization.WorldEvent.Condition;
using Winch.Util;
using static FluffyUnderware.DevTools.ConditionalAttribute;
using static ShopData;

namespace Winch.Serialization;
Expand Down
2 changes: 0 additions & 2 deletions Winch/Serialization/Item/FlagItemDataConverter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
using UnityEngine;
using Winch.Util;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using UnityEngine;
using System.Collections.Generic;
using UnityEngine.Localization;
using Winch.Data.POI.Dock.Destinations;
using Winch.Util;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Winch.Data.POI.Dock.Destinations;
using Winch.Util;

namespace Winch.Serialization.POI.Dock.Destinations;
internal class CustomConstructableDestinationDataConverter : DredgeTypeConverter<CustomConstructableDestinationData>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Localization;
using Winch.Data.POI.Dock.Destinations;
using Winch.Util;

Expand Down
1 change: 0 additions & 1 deletion Winch/Serialization/Recipe/AbilityRecipeDataConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Winch.Util;

namespace Winch.Serialization.Recipe;

Expand Down
1 change: 0 additions & 1 deletion Winch/Serialization/Recipe/HullRecipeDataConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Winch.Util;

namespace Winch.Serialization.Recipe;

Expand Down
1 change: 0 additions & 1 deletion Winch/Serialization/Recipe/ItemRecipeDataConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Winch.Util;

namespace Winch.Serialization.Recipe;

Expand Down
1 change: 0 additions & 1 deletion Winch/Serialization/Recipe/RecipeDataConverter.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using UnityEngine.Localization;
using Winch.Util;

namespace Winch.Serialization.Recipe;

Expand Down
1 change: 0 additions & 1 deletion Winch/Util/ConstructableBuildingUtil.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine.AddressableAssets;
using Winch.Core;
using Winch.Data.ConstructableBuilding;
using Winch.Serialization.ConstructableBuilding;
Expand Down
1 change: 0 additions & 1 deletion Winch/Util/DockUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using Winch.Serialization.POI.Dock.Destinations;
using Winch.Components;
using Cinemachine;
using MonoMod.Utils;

namespace Winch.Util;

Expand Down
1 change: 0 additions & 1 deletion Winch/Util/GridConfigUtil.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Sirenix.Serialization;
using UnityEngine.AddressableAssets;
using Winch.Core;
using Winch.Data.GridConfig;
Expand Down
2 changes: 0 additions & 2 deletions Winch/Util/RecipeUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Profiling.Memory.Experimental;
using Winch.Core;
using Winch.Data.Recipe;
using Winch.Serialization;
Expand Down

0 comments on commit 5cadeec

Please sign in to comment.