From 996a8004d71762cd0287d8d189415a12fec34baa Mon Sep 17 00:00:00 2001 From: Kaioru Date: Fri, 30 Aug 2024 04:56:36 +0800 Subject: [PATCH] Remove unused imports --- .../Entities/DbCharacterConfiguration.cs | 1 - .../Handling/Pipes/UserOnPacketCreateNewCharacter.cs | 1 - .../Handling/Pipes/UserOnPacketSelectWorld.cs | 5 +---- .../Codecs/NettyPacketEncoder.cs | 1 - .../Entities/CharacterExtensions.cs | 1 - .../Entities/Inventories/Modifiers/IModifyInventory.cs | 3 +-- .../Inventories/Modifiers/IModifyInventoryContext.cs | 3 +-- 7 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/common/Edelstein.Common.Database/Entities/DbCharacterConfiguration.cs b/src/common/Edelstein.Common.Database/Entities/DbCharacterConfiguration.cs index 4b2e1bee5..8a36ffe87 100644 --- a/src/common/Edelstein.Common.Database/Entities/DbCharacterConfiguration.cs +++ b/src/common/Edelstein.Common.Database/Entities/DbCharacterConfiguration.cs @@ -1,6 +1,5 @@ using Edelstein.Common.Database.Converters; using Edelstein.Protocol.Gameplay.Entities; -using Edelstein.Protocol.Gameplay.Entities.Inventories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; diff --git a/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketCreateNewCharacter.cs b/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketCreateNewCharacter.cs index 83afa98d6..0344b6fe7 100644 --- a/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketCreateNewCharacter.cs +++ b/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketCreateNewCharacter.cs @@ -1,5 +1,4 @@ using System; -using System.Text.Json; using System.Threading.Tasks; using Edelstein.Common.Gameplay.Entities.Inventories.Modifiers; using Edelstein.Protocol.Gameplay.Entities; diff --git a/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketSelectWorld.cs b/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketSelectWorld.cs index 81f0ba933..655987442 100644 --- a/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketSelectWorld.cs +++ b/src/common/Edelstein.Common.Gameplay.Login/Handling/Pipes/UserOnPacketSelectWorld.cs @@ -1,5 +1,4 @@ -using System; -using System.Linq; +using System.Linq; using System.Threading.Tasks; using Edelstein.Protocol.Gameplay.Entities; using Edelstein.Protocol.Gameplay.Handling; @@ -7,8 +6,6 @@ using Edelstein.Protocol.Gameplay.Login.Contracts.Packets; using Edelstein.Protocol.Gameplay.Login.Contracts.Packets.Recv; using Edelstein.Protocol.Gameplay.Login.Contracts.Packets.Send; -using Edelstein.Protocol.Network.Packets; -using Edelstein.Protocol.Network.Packets.Types; using Edelstein.Protocol.Services.Server; using Edelstein.Protocol.Services.Server.Contracts; using Edelstein.Protocol.Utilities.Pipelines; diff --git a/src/common/Edelstein.Common.Network.DotNetty/Codecs/NettyPacketEncoder.cs b/src/common/Edelstein.Common.Network.DotNetty/Codecs/NettyPacketEncoder.cs index 771086d9b..36cd84c27 100644 --- a/src/common/Edelstein.Common.Network.DotNetty/Codecs/NettyPacketEncoder.cs +++ b/src/common/Edelstein.Common.Network.DotNetty/Codecs/NettyPacketEncoder.cs @@ -1,5 +1,4 @@ using System; -using CommunityToolkit.HighPerformance.Buffers; using DotNetty.Buffers; using DotNetty.Codecs; using DotNetty.Transport.Channels; diff --git a/src/protocol/Edelstein.Protocol.Gameplay/Entities/CharacterExtensions.cs b/src/protocol/Edelstein.Protocol.Gameplay/Entities/CharacterExtensions.cs index f0f06508a..0ef61a82b 100644 --- a/src/protocol/Edelstein.Protocol.Gameplay/Entities/CharacterExtensions.cs +++ b/src/protocol/Edelstein.Protocol.Gameplay/Entities/CharacterExtensions.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Collections.Immutable; using System.Linq; using Edelstein.Protocol.Gameplay.Entities.Inventories; diff --git a/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventory.cs b/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventory.cs index 43b3fb32e..a29038a9a 100644 --- a/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventory.cs +++ b/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventory.cs @@ -1,5 +1,4 @@ -using System.Threading.Tasks; -using Edelstein.Protocol.Gameplay.Entities.Inventories.Templates; +using Edelstein.Protocol.Gameplay.Entities.Inventories.Templates; namespace Edelstein.Protocol.Gameplay.Entities.Inventories.Modifiers; diff --git a/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventoryContext.cs b/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventoryContext.cs index 865a88b9d..a532a2806 100644 --- a/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventoryContext.cs +++ b/src/protocol/Edelstein.Protocol.Gameplay/Entities/Inventories/Modifiers/IModifyInventoryContext.cs @@ -1,5 +1,4 @@ -using System.Threading.Tasks; -using Edelstein.Protocol.Gameplay.Entities.Inventories.Templates; +using Edelstein.Protocol.Gameplay.Entities.Inventories.Templates; namespace Edelstein.Protocol.Gameplay.Entities.Inventories.Modifiers;