From ff36e7e057291e08beaaf2d7af9741b6976b6753 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 15 Sep 2023 14:12:59 +0200 Subject: [PATCH] Use System global usings. --- OtterGui | 2 +- Penumbra.Api | 2 +- Penumbra.GameData | 2 +- Penumbra.String | 2 +- Penumbra/Api/DalamudSubstitutionProvider.cs | 3 --- Penumbra/Api/HttpApi.cs | 2 -- Penumbra/Api/IpcTester.cs | 5 ----- Penumbra/Api/PenumbraApi.cs | 6 ------ Penumbra/Api/PenumbraIpcProviders.cs | 3 --- Penumbra/Api/TempModManager.cs | 2 -- Penumbra/Collections/Cache/CmpCache.cs | 3 --- Penumbra/Collections/Cache/CollectionCache.cs | 6 ------ .../Collections/Cache/CollectionCacheManager.cs | 6 ------ Penumbra/Collections/Cache/CollectionModData.cs | 3 --- Penumbra/Collections/Cache/EqdpCache.cs | 4 ---- Penumbra/Collections/Cache/EqpCache.cs | 3 --- Penumbra/Collections/Cache/EstCache.cs | 2 -- Penumbra/Collections/Cache/GmpCache.cs | 3 --- Penumbra/Collections/Cache/ImcCache.cs | 3 --- Penumbra/Collections/Cache/MetaCache.cs | 3 --- .../Manager/ActiveCollectionMigration.cs | 4 ---- Penumbra/Collections/Manager/ActiveCollections.cs | 4 ---- Penumbra/Collections/Manager/CollectionEditor.cs | 4 ---- Penumbra/Collections/Manager/CollectionStorage.cs | 5 ----- Penumbra/Collections/Manager/CollectionType.cs | 3 --- .../Manager/IndividualCollections.Access.cs | 3 --- .../Manager/IndividualCollections.Files.cs | 3 --- .../Collections/Manager/IndividualCollections.cs | 3 --- Penumbra/Collections/Manager/InheritanceManager.cs | 3 --- .../Collections/Manager/ModCollectionMigration.cs | 2 -- .../Collections/Manager/TempCollectionManager.cs | 3 --- Penumbra/Collections/ModCollection.Cache.Access.cs | 3 --- Penumbra/Collections/ModCollection.cs | 4 ---- Penumbra/Collections/ModCollectionSave.cs | 4 ---- Penumbra/Collections/ResolveData.cs | 2 -- Penumbra/CommandHandler.cs | 3 --- Penumbra/Communication/ChangedItemClick.cs | 1 - Penumbra/Communication/ChangedItemHover.cs | 1 - Penumbra/Communication/CollectionChange.cs | 1 - .../Communication/CollectionInheritanceChanged.cs | 1 - Penumbra/Communication/CreatedCharacterBase.cs | 1 - Penumbra/Communication/CreatingCharacterBase.cs | 1 - Penumbra/Communication/EnabledChanged.cs | 1 - Penumbra/Communication/ModDataChanged.cs | 1 - Penumbra/Communication/ModDirectoryChanged.cs | 1 - Penumbra/Communication/ModDiscoveryFinished.cs | 1 - Penumbra/Communication/ModDiscoveryStarted.cs | 1 - Penumbra/Communication/ModOptionChanged.cs | 1 - Penumbra/Communication/ModPathChanged.cs | 2 -- Penumbra/Communication/ModSettingChanged.cs | 1 - Penumbra/Communication/MtrlShpkLoaded.cs | 3 +-- Penumbra/Communication/PostSettingsPanelDraw.cs | 1 - Penumbra/Communication/PreSettingsPanelDraw.cs | 1 - Penumbra/Communication/ResolvedFileChanged.cs | 1 - Penumbra/Communication/SelectTab.cs | 1 - Penumbra/Communication/TemporaryGlobalModChange.cs | 1 - Penumbra/Configuration.cs | 5 ----- Penumbra/GlobalUsings.cs | 14 ++++++++++++++ Penumbra/Import/Structs/StreamDisposer.cs | 2 -- Penumbra/Import/Structs/TexToolsStructs.cs | 1 - Penumbra/Import/TexToolsImport.cs | 6 ------ Penumbra/Import/TexToolsImporter.Archives.cs | 5 +---- Penumbra/Import/TexToolsImporter.Gui.cs | 2 -- Penumbra/Import/TexToolsImporter.ModPack.cs | 4 ---- Penumbra/Import/TexToolsMeta.Deserialization.cs | 2 -- Penumbra/Import/TexToolsMeta.Export.cs | 4 ---- Penumbra/Import/TexToolsMeta.Rgsp.cs | 2 -- Penumbra/Import/TexToolsMeta.cs | 3 --- Penumbra/Import/Textures/BaseImage.cs | 2 -- .../Textures/CombinedTexture.Manipulation.cs | 5 ----- .../Import/Textures/CombinedTexture.Operations.cs | 4 ---- Penumbra/Import/Textures/CombinedTexture.cs | 5 ----- Penumbra/Import/Textures/RgbaPixelData.cs | 1 - Penumbra/Import/Textures/TexFileParser.cs | 2 -- Penumbra/Import/Textures/Texture.cs | 1 - Penumbra/Import/Textures/TextureDrawer.cs | 5 ----- Penumbra/Import/Textures/TextureManager.cs | 7 ------- .../MaterialPreview/LiveColorTablePreviewer.cs | 1 - .../MaterialPreview/LiveMaterialPreviewerBase.cs | 1 - Penumbra/Interop/MaterialPreview/MaterialInfo.cs | 2 -- .../Interop/PathResolving/AnimationHookService.cs | 2 -- .../Interop/PathResolving/CollectionResolver.cs | 1 - Penumbra/Interop/PathResolving/CutsceneService.cs | 4 ---- Penumbra/Interop/PathResolving/DrawObjectState.cs | 4 ---- .../PathResolving/IdentifiedCollectionCache.cs | 3 --- Penumbra/Interop/PathResolving/MetaState.cs | 2 -- Penumbra/Interop/PathResolving/PathResolver.cs | 1 - Penumbra/Interop/PathResolving/PathState.cs | 4 ---- Penumbra/Interop/PathResolving/ResolvePathHooks.cs | 2 -- Penumbra/Interop/PathResolving/SubfileHelper.cs | 4 ---- .../Interop/ResourceLoading/CreateFileWHook.cs | 3 --- .../Interop/ResourceLoading/FileReadService.cs | 4 ---- Penumbra/Interop/ResourceLoading/ResourceLoader.cs | 4 +--- .../ResourceLoading/ResourceManagerService.cs | 2 -- .../Interop/ResourceLoading/ResourceService.cs | 1 - Penumbra/Interop/ResourceLoading/TexMdlService.cs | 2 -- Penumbra/Interop/ResourceTree/ResolveContext.cs | 4 ---- Penumbra/Interop/ResourceTree/ResourceNode.cs | 2 -- Penumbra/Interop/ResourceTree/ResourceTree.cs | 2 -- .../Interop/ResourceTree/ResourceTreeFactory.cs | 2 -- Penumbra/Interop/ResourceTree/TreeBuildCache.cs | 4 ---- Penumbra/Interop/SafeHandles/SafeResourceHandle.cs | 5 +---- Penumbra/Interop/SafeHandles/SafeTextureHandle.cs | 5 +---- Penumbra/Interop/Services/CharacterUtility.cs | 3 --- Penumbra/Interop/Services/DecalReverter.cs | 1 - Penumbra/Interop/Services/GameEventManager.cs | 1 - Penumbra/Interop/Services/MetaList.cs | 2 -- Penumbra/Interop/Services/RedrawService.cs | 3 --- Penumbra/Interop/Services/SkinFixer.cs | 3 --- Penumbra/Interop/Structs/CharacterUtilityData.cs | 3 --- Penumbra/Interop/Structs/ClipScheduler.cs | 3 --- Penumbra/Interop/Structs/ConstantBuffer.cs | 3 --- Penumbra/Interop/Structs/DrawState.cs | 2 -- Penumbra/Interop/Structs/GetResourceParameters.cs | 2 -- Penumbra/Interop/Structs/HumanExt.cs | 1 - Penumbra/Interop/Structs/Material.cs | 2 -- Penumbra/Interop/Structs/MtrlResource.cs | 2 -- Penumbra/Interop/Structs/RenderModel.cs | 1 - .../Interop/Structs/ResidentResourceManager.cs | 2 -- Penumbra/Interop/Structs/ResourceHandle.cs | 2 -- Penumbra/Interop/Structs/SeFileDescriptor.cs | 2 -- Penumbra/Interop/Structs/ShaderPackageUtility.cs | 2 -- Penumbra/Interop/Structs/VfxParams.cs | 2 -- Penumbra/Meta/Files/CmpFile.cs | 2 -- Penumbra/Meta/Files/EqdpFile.cs | 2 -- Penumbra/Meta/Files/EqpGmpFile.cs | 4 ---- Penumbra/Meta/Files/EstFile.cs | 1 - Penumbra/Meta/Files/EvpFile.cs | 1 - Penumbra/Meta/Files/ImcFile.cs | 2 -- Penumbra/Meta/Files/MetaBaseFile.cs | 1 - Penumbra/Meta/Manipulations/EqdpManipulation.cs | 2 -- Penumbra/Meta/Manipulations/EqpManipulation.cs | 2 -- Penumbra/Meta/Manipulations/EstManipulation.cs | 2 -- Penumbra/Meta/Manipulations/GmpManipulation.cs | 1 - Penumbra/Meta/Manipulations/ImcManipulation.cs | 2 -- Penumbra/Meta/Manipulations/MetaManipulation.cs | 2 -- Penumbra/Meta/Manipulations/RspManipulation.cs | 2 -- Penumbra/Meta/MetaFileManager.cs | 3 --- Penumbra/Mods/Editor/DuplicateManager.cs | 4 ---- Penumbra/Mods/Editor/FileRegistry.cs | 3 --- Penumbra/Mods/Editor/IMod.cs | 1 - Penumbra/Mods/Editor/MdlMaterialEditor.cs | 4 ---- Penumbra/Mods/Editor/ModBackup.cs | 4 ---- Penumbra/Mods/Editor/ModEditor.cs | 2 -- Penumbra/Mods/Editor/ModFileCollection.cs | 5 ----- Penumbra/Mods/Editor/ModFileEditor.cs | 4 ---- Penumbra/Mods/Editor/ModMerger.cs | 4 ---- Penumbra/Mods/Editor/ModMetaEditor.cs | 3 --- Penumbra/Mods/Editor/ModNormalizer.cs | 5 ----- Penumbra/Mods/Editor/ModSwapEditor.cs | 1 - Penumbra/Mods/Editor/ModelMaterialInfo.cs | 3 --- Penumbra/Mods/ItemSwap/CustomizationSwap.cs | 3 --- Penumbra/Mods/ItemSwap/EquipmentSwap.cs | 4 ---- Penumbra/Mods/ItemSwap/ItemSwap.cs | 2 -- Penumbra/Mods/ItemSwap/ItemSwapContainer.cs | 4 ---- Penumbra/Mods/ItemSwap/Swaps.cs | 5 ----- Penumbra/Mods/Manager/ModCacheManager.cs | 5 ----- Penumbra/Mods/Manager/ModDataEditor.cs | 3 --- Penumbra/Mods/Manager/ModExportManager.cs | 2 -- Penumbra/Mods/Manager/ModFileSystem.cs | 4 ---- Penumbra/Mods/Manager/ModImportManager.cs | 5 ----- Penumbra/Mods/Manager/ModManager.cs | 4 ---- Penumbra/Mods/Manager/ModMigration.cs | 4 ---- Penumbra/Mods/Manager/ModOptionEditor.cs | 3 --- Penumbra/Mods/Manager/ModStorage.cs | 3 --- Penumbra/Mods/Mod.cs | 4 ---- Penumbra/Mods/ModCreator.cs | 4 ---- Penumbra/Mods/ModLocalData.cs | 3 --- Penumbra/Mods/ModMeta.cs | 1 - Penumbra/Mods/Subclasses/IModGroup.cs | 3 --- Penumbra/Mods/Subclasses/ISubMod.cs | 2 -- Penumbra/Mods/Subclasses/Mod.Files.SubMod.cs | 5 ----- Penumbra/Mods/Subclasses/ModSettings.cs | 4 ---- Penumbra/Mods/Subclasses/MultiModGroup.cs | 5 ----- Penumbra/Mods/Subclasses/SingleModGroup.cs | 4 ---- Penumbra/Mods/TemporaryMod.cs | 4 ---- Penumbra/Penumbra.cs | 3 --- Penumbra/Services/BackupService.cs | 3 --- Penumbra/Services/ChatService.cs | 1 - Penumbra/Services/CommunicatorService.cs | 1 - Penumbra/Services/ConfigMigrationService.cs | 4 ---- Penumbra/Services/DalamudServices.cs | 2 -- Penumbra/Services/FilenameService.cs | 3 --- Penumbra/Services/SaveService.cs | 1 - Penumbra/Services/ServiceWrapper.cs | 2 -- Penumbra/Services/StainService.cs | 3 --- Penumbra/Services/ValidityChecker.cs | 4 ---- Penumbra/UI/AdvancedWindow/FileEditor.cs | 5 ----- Penumbra/UI/AdvancedWindow/ItemSwapTab.cs | 5 ----- Penumbra/UI/AdvancedWindow/ModEditWindow.Files.cs | 4 ---- .../ModEditWindow.Materials.ColorTable.cs | 3 --- .../ModEditWindow.Materials.ConstantEditor.cs | 3 --- .../ModEditWindow.Materials.MtrlTab.cs | 3 +-- .../AdvancedWindow/ModEditWindow.Materials.Shpk.cs | 3 --- Penumbra/UI/AdvancedWindow/ModEditWindow.Meta.cs | 4 ---- Penumbra/UI/AdvancedWindow/ModEditWindow.Models.cs | 1 - .../UI/AdvancedWindow/ModEditWindow.QuickImport.cs | 5 ----- .../AdvancedWindow/ModEditWindow.ShaderPackages.cs | 5 ----- .../UI/AdvancedWindow/ModEditWindow.ShpkTab.cs | 2 -- .../UI/AdvancedWindow/ModEditWindow.Textures.cs | 6 ------ Penumbra/UI/AdvancedWindow/ModEditWindow.cs | 6 ------ Penumbra/UI/AdvancedWindow/ModMergeTab.cs | 3 --- Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs | 7 +------ Penumbra/UI/ChangedItemDrawer.cs | 4 ---- Penumbra/UI/Changelog.cs | 1 - Penumbra/UI/Classes/CollectionSelectHeader.cs | 3 --- Penumbra/UI/Classes/Colors.cs | 2 -- Penumbra/UI/CollectionTab/CollectionCombo.cs | 2 -- Penumbra/UI/CollectionTab/CollectionPanel.cs | 4 ---- Penumbra/UI/CollectionTab/CollectionSelector.cs | 3 --- .../UI/CollectionTab/IndividualAssignmentUi.cs | 2 -- Penumbra/UI/CollectionTab/InheritanceUi.cs | 4 ---- Penumbra/UI/ConfigWindow.cs | 2 -- Penumbra/UI/FileDialogService.cs | 4 ---- Penumbra/UI/ImportPopup.cs | 2 -- Penumbra/UI/LaunchButton.cs | 2 -- Penumbra/UI/ModsTab/ModFileSystemSelector.cs | 5 ----- Penumbra/UI/ModsTab/ModFilter.cs | 2 -- Penumbra/UI/ModsTab/ModPanel.cs | 3 --- Penumbra/UI/ModsTab/ModPanelChangedItemsTab.cs | 4 ---- Penumbra/UI/ModsTab/ModPanelCollectionsTab.cs | 2 -- Penumbra/UI/ModsTab/ModPanelConflictsTab.cs | 2 -- Penumbra/UI/ModsTab/ModPanelDescriptionTab.cs | 1 - Penumbra/UI/ModsTab/ModPanelEditTab.cs | 5 ----- Penumbra/UI/ModsTab/ModPanelHeader.cs | 3 --- Penumbra/UI/ModsTab/ModPanelSettingsTab.cs | 3 --- Penumbra/UI/ModsTab/ModPanelTabBar.cs | 2 -- Penumbra/UI/ResourceWatcher/Record.cs | 1 - Penumbra/UI/ResourceWatcher/ResourceWatcher.cs | 2 -- .../UI/ResourceWatcher/ResourceWatcherTable.cs | 4 ---- Penumbra/UI/Tabs/ChangedItemsTab.cs | 4 ---- Penumbra/UI/Tabs/CollectionsTab.cs | 2 -- Penumbra/UI/Tabs/ConfigTabBar.cs | 1 - Penumbra/UI/Tabs/DebugTab.cs | 4 ---- Penumbra/UI/Tabs/EffectiveTab.cs | 4 ---- Penumbra/UI/Tabs/ModsTab.cs | 3 --- Penumbra/UI/Tabs/OnScreenTab.cs | 1 - Penumbra/UI/Tabs/ResourceTab.cs | 3 --- Penumbra/UI/Tabs/SettingsTab.cs | 4 ---- Penumbra/UI/TutorialService.cs | 2 -- Penumbra/UI/UiHelpers.cs | 3 --- Penumbra/UI/WindowSystem.cs | 1 - Penumbra/Util/DictionaryExtensions.cs | 4 ---- Penumbra/Util/FixedUlongStringEnumConverter.cs | 1 - Penumbra/Util/PenumbraSqPackStream.cs | 4 ---- 245 files changed, 25 insertions(+), 680 deletions(-) create mode 100644 Penumbra/GlobalUsings.cs diff --git a/OtterGui b/OtterGui index ee64ae2d2..ab2917a7a 160000 --- a/OtterGui +++ b/OtterGui @@ -1 +1 @@ -Subproject commit ee64ae2d2710aea45365dafa3c91a721e59ae8fc +Subproject commit ab2917a7a300a583770189874f94c66620112e6e diff --git a/Penumbra.Api b/Penumbra.Api index 97610e1c9..6347ff999 160000 --- a/Penumbra.Api +++ b/Penumbra.Api @@ -1 +1 @@ -Subproject commit 97610e1c9d27d863ae8563bb9c8525cc6f8a3709 +Subproject commit 6347ff999949725a6b2c1a58507344ebb8688e46 diff --git a/Penumbra.GameData b/Penumbra.GameData index 3aab17bd6..624bfca9b 160000 --- a/Penumbra.GameData +++ b/Penumbra.GameData @@ -1 +1 @@ -Subproject commit 3aab17bd6a91146bb858cabee928ed214ec4e95c +Subproject commit 624bfca9b00db3f2f5e64ff254ae7894ef56ece1 diff --git a/Penumbra.String b/Penumbra.String index 5d9f36c5b..6797958ff 160000 --- a/Penumbra.String +++ b/Penumbra.String @@ -1 +1 @@ -Subproject commit 5d9f36c5b57685b07354460e225e65759ef9996e +Subproject commit 6797958fff2c07e14c5228bd788f8f10e7176fd2 diff --git a/Penumbra/Api/DalamudSubstitutionProvider.cs b/Penumbra/Api/DalamudSubstitutionProvider.cs index 07da761fa..fb966fe81 100644 --- a/Penumbra/Api/DalamudSubstitutionProvider.cs +++ b/Penumbra/Api/DalamudSubstitutionProvider.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Plugin.Services; using Penumbra.Collections; using Penumbra.Collections.Manager; diff --git a/Penumbra/Api/HttpApi.cs b/Penumbra/Api/HttpApi.cs index 0d9ef9970..e23f8b4f3 100644 --- a/Penumbra/Api/HttpApi.cs +++ b/Penumbra/Api/HttpApi.cs @@ -1,5 +1,3 @@ -using System; -using System.Threading.Tasks; using EmbedIO; using EmbedIO.Routing; using EmbedIO.WebApi; diff --git a/Penumbra/Api/IpcTester.cs b/Penumbra/Api/IpcTester.cs index cbd0cc8b4..69c2fd3d3 100644 --- a/Penumbra/Api/IpcTester.cs +++ b/Penumbra/Api/IpcTester.cs @@ -4,12 +4,7 @@ using OtterGui; using OtterGui.Raii; using Penumbra.Mods; -using System; -using System.Collections.Generic; using System.Globalization; -using System.Linq; -using System.Numerics; -using System.Threading.Tasks; using Dalamud.Utility; using Penumbra.Api.Enums; using Penumbra.Api.Helpers; diff --git a/Penumbra/Api/PenumbraApi.cs b/Penumbra/Api/PenumbraApi.cs index 5ac53210b..1dead7e54 100644 --- a/Penumbra/Api/PenumbraApi.cs +++ b/Penumbra/Api/PenumbraApi.cs @@ -7,13 +7,7 @@ using Penumbra.Interop.Structs; using Penumbra.Meta.Manipulations; using Penumbra.Mods; -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Threading.Tasks; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; using OtterGui.Compression; using Penumbra.Api.Enums; diff --git a/Penumbra/Api/PenumbraIpcProviders.cs b/Penumbra/Api/PenumbraIpcProviders.cs index 73f87b946..2d3fcf97d 100644 --- a/Penumbra/Api/PenumbraIpcProviders.cs +++ b/Penumbra/Api/PenumbraIpcProviders.cs @@ -1,9 +1,6 @@ using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin; using Penumbra.GameData.Enums; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Penumbra.Api.Enums; using Penumbra.Api.Helpers; using Penumbra.Collections.Manager; diff --git a/Penumbra/Api/TempModManager.cs b/Penumbra/Api/TempModManager.cs index 1dd8331f4..35aa12174 100644 --- a/Penumbra/Api/TempModManager.cs +++ b/Penumbra/Api/TempModManager.cs @@ -1,8 +1,6 @@ -using System; using Penumbra.Collections; using Penumbra.Meta.Manipulations; using Penumbra.Mods; -using System.Collections.Generic; using Penumbra.Services; using Penumbra.String.Classes; using Penumbra.Collections.Manager; diff --git a/Penumbra/Collections/Cache/CmpCache.cs b/Penumbra/Collections/Cache/CmpCache.cs index 9333501aa..470cadd47 100644 --- a/Penumbra/Collections/Cache/CmpCache.cs +++ b/Penumbra/Collections/Cache/CmpCache.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using OtterGui.Filesystem; using Penumbra.Interop.Services; using Penumbra.Interop.Structs; diff --git a/Penumbra/Collections/Cache/CollectionCache.cs b/Penumbra/Collections/Cache/CollectionCache.cs index 1f7121242..6f3d59e95 100644 --- a/Penumbra/Collections/Cache/CollectionCache.cs +++ b/Penumbra/Collections/Cache/CollectionCache.cs @@ -2,12 +2,6 @@ using OtterGui.Classes; using Penumbra.Meta.Manipulations; using Penumbra.Mods; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Threading; using Penumbra.Api.Enums; using Penumbra.Communication; using Penumbra.String.Classes; diff --git a/Penumbra/Collections/Cache/CollectionCacheManager.cs b/Penumbra/Collections/Cache/CollectionCacheManager.cs index abe5bfca1..3a94bc89e 100644 --- a/Penumbra/Collections/Cache/CollectionCacheManager.cs +++ b/Penumbra/Collections/Cache/CollectionCacheManager.cs @@ -1,10 +1,4 @@ -using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; using Dalamud.Game; using OtterGui.Classes; using Penumbra.Api; diff --git a/Penumbra/Collections/Cache/CollectionModData.cs b/Penumbra/Collections/Cache/CollectionModData.cs index 24f8f2978..fcbccc965 100644 --- a/Penumbra/Collections/Cache/CollectionModData.cs +++ b/Penumbra/Collections/Cache/CollectionModData.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Penumbra.Meta.Manipulations; using Penumbra.Mods; using Penumbra.String.Classes; diff --git a/Penumbra/Collections/Cache/EqdpCache.cs b/Penumbra/Collections/Cache/EqdpCache.cs index 1b9c81567..a5232dbb2 100644 --- a/Penumbra/Collections/Cache/EqdpCache.cs +++ b/Penumbra/Collections/Cache/EqdpCache.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; using OtterGui; using OtterGui.Filesystem; using Penumbra.GameData.Enums; diff --git a/Penumbra/Collections/Cache/EqpCache.cs b/Penumbra/Collections/Cache/EqpCache.cs index 4e87a34a0..9d63479ae 100644 --- a/Penumbra/Collections/Cache/EqpCache.cs +++ b/Penumbra/Collections/Cache/EqpCache.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using OtterGui.Filesystem; using Penumbra.Interop.Services; using Penumbra.Interop.Structs; diff --git a/Penumbra/Collections/Cache/EstCache.cs b/Penumbra/Collections/Cache/EstCache.cs index d079a5320..43ebcf566 100644 --- a/Penumbra/Collections/Cache/EstCache.cs +++ b/Penumbra/Collections/Cache/EstCache.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using OtterGui.Filesystem; using Penumbra.GameData.Enums; using Penumbra.Interop.Services; diff --git a/Penumbra/Collections/Cache/GmpCache.cs b/Penumbra/Collections/Cache/GmpCache.cs index 1c25b9e55..3287eb2d2 100644 --- a/Penumbra/Collections/Cache/GmpCache.cs +++ b/Penumbra/Collections/Cache/GmpCache.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using OtterGui.Filesystem; using Penumbra.Interop.Services; using Penumbra.Interop.Structs; diff --git a/Penumbra/Collections/Cache/ImcCache.cs b/Penumbra/Collections/Cache/ImcCache.cs index 28680d119..e226b4096 100644 --- a/Penumbra/Collections/Cache/ImcCache.cs +++ b/Penumbra/Collections/Cache/ImcCache.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using Penumbra.Meta; using Penumbra.Meta.Files; using Penumbra.Meta.Manipulations; diff --git a/Penumbra/Collections/Cache/MetaCache.cs b/Penumbra/Collections/Cache/MetaCache.cs index ee589d1be..fa60993ac 100644 --- a/Penumbra/Collections/Cache/MetaCache.cs +++ b/Penumbra/Collections/Cache/MetaCache.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Penumbra.GameData.Enums; using Penumbra.Interop.Services; diff --git a/Penumbra/Collections/Manager/ActiveCollectionMigration.cs b/Penumbra/Collections/Manager/ActiveCollectionMigration.cs index 7ea52eb66..5fcfd2f94 100644 --- a/Penumbra/Collections/Manager/ActiveCollectionMigration.cs +++ b/Penumbra/Collections/Manager/ActiveCollectionMigration.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/Penumbra/Collections/Manager/ActiveCollections.cs b/Penumbra/Collections/Manager/ActiveCollections.cs index 69cd1239b..58eb75174 100644 --- a/Penumbra/Collections/Manager/ActiveCollections.cs +++ b/Penumbra/Collections/Manager/ActiveCollections.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/Penumbra/Collections/Manager/CollectionEditor.cs b/Penumbra/Collections/Manager/CollectionEditor.cs index 5aad1595c..3d0ef60e0 100644 --- a/Penumbra/Collections/Manager/CollectionEditor.cs +++ b/Penumbra/Collections/Manager/CollectionEditor.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.CompilerServices; using OtterGui; using Penumbra.Api.Enums; using Penumbra.Mods; diff --git a/Penumbra/Collections/Manager/CollectionStorage.cs b/Penumbra/Collections/Manager/CollectionStorage.cs index 0bee38cf4..c172aeffa 100644 --- a/Penumbra/Collections/Manager/CollectionStorage.cs +++ b/Penumbra/Collections/Manager/CollectionStorage.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using OtterGui; using OtterGui.Filesystem; diff --git a/Penumbra/Collections/Manager/CollectionType.cs b/Penumbra/Collections/Manager/CollectionType.cs index 40f0f4884..8e2d1aed1 100644 --- a/Penumbra/Collections/Manager/CollectionType.cs +++ b/Penumbra/Collections/Manager/CollectionType.cs @@ -1,7 +1,4 @@ using Penumbra.GameData.Enums; -using System; -using System.Collections.Generic; -using System.Linq; namespace Penumbra.Collections.Manager; diff --git a/Penumbra/Collections/Manager/IndividualCollections.Access.cs b/Penumbra/Collections/Manager/IndividualCollections.Access.cs index b1b0698a7..ac4acb8e3 100644 --- a/Penumbra/Collections/Manager/IndividualCollections.Access.cs +++ b/Penumbra/Collections/Manager/IndividualCollections.Access.cs @@ -1,7 +1,4 @@ -using System.Collections; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Game.ClientState.Objects.Types; using Penumbra.GameData.Actors; diff --git a/Penumbra/Collections/Manager/IndividualCollections.Files.cs b/Penumbra/Collections/Manager/IndividualCollections.Files.cs index d670fc423..da4033373 100644 --- a/Penumbra/Collections/Manager/IndividualCollections.Files.cs +++ b/Penumbra/Collections/Manager/IndividualCollections.Files.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Interface.Internal.Notifications; using Newtonsoft.Json.Linq; diff --git a/Penumbra/Collections/Manager/IndividualCollections.cs b/Penumbra/Collections/Manager/IndividualCollections.cs index c4d9c5167..e7547153a 100644 --- a/Penumbra/Collections/Manager/IndividualCollections.cs +++ b/Penumbra/Collections/Manager/IndividualCollections.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using Dalamud.Game.ClientState.Objects.Enums; using OtterGui.Filesystem; using Penumbra.GameData.Actors; diff --git a/Penumbra/Collections/Manager/InheritanceManager.cs b/Penumbra/Collections/Manager/InheritanceManager.cs index fef7bdbc0..4c1bdc5a1 100644 --- a/Penumbra/Collections/Manager/InheritanceManager.cs +++ b/Penumbra/Collections/Manager/InheritanceManager.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using OtterGui; using OtterGui.Filesystem; diff --git a/Penumbra/Collections/Manager/ModCollectionMigration.cs b/Penumbra/Collections/Manager/ModCollectionMigration.cs index c1f158ea3..56135182a 100644 --- a/Penumbra/Collections/Manager/ModCollectionMigration.cs +++ b/Penumbra/Collections/Manager/ModCollectionMigration.cs @@ -1,6 +1,4 @@ using Penumbra.Mods; -using System.Collections.Generic; -using System.Linq; using Penumbra.Mods.Manager; using Penumbra.Services; using Penumbra.Util; diff --git a/Penumbra/Collections/Manager/TempCollectionManager.cs b/Penumbra/Collections/Manager/TempCollectionManager.cs index 400bd2cf1..133a0990f 100644 --- a/Penumbra/Collections/Manager/TempCollectionManager.cs +++ b/Penumbra/Collections/Manager/TempCollectionManager.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using Penumbra.Api; using Penumbra.Communication; using Penumbra.GameData.Actors; diff --git a/Penumbra/Collections/ModCollection.Cache.Access.cs b/Penumbra/Collections/ModCollection.Cache.Access.cs index a3e43afd7..ae68a3706 100644 --- a/Penumbra/Collections/ModCollection.Cache.Access.cs +++ b/Penumbra/Collections/ModCollection.Cache.Access.cs @@ -1,10 +1,7 @@ using OtterGui.Classes; using Penumbra.GameData.Enums; using Penumbra.Mods; -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using Penumbra.Interop.Structs; using Penumbra.Meta.Files; using Penumbra.Meta.Manipulations; diff --git a/Penumbra/Collections/ModCollection.cs b/Penumbra/Collections/ModCollection.cs index ca20f3717..cb4aecc65 100644 --- a/Penumbra/Collections/ModCollection.cs +++ b/Penumbra/Collections/ModCollection.cs @@ -1,8 +1,4 @@ using Penumbra.Mods; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; using Penumbra.Mods.Manager; using Penumbra.Collections.Manager; using Penumbra.Services; diff --git a/Penumbra/Collections/ModCollectionSave.cs b/Penumbra/Collections/ModCollectionSave.cs index 72b2e94c2..05a8d9b0c 100644 --- a/Penumbra/Collections/ModCollectionSave.cs +++ b/Penumbra/Collections/ModCollectionSave.cs @@ -1,10 +1,6 @@ using Newtonsoft.Json.Linq; using Penumbra.Mods; using Penumbra.Services; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Newtonsoft.Json; using Penumbra.Mods.Manager; using Penumbra.Util; diff --git a/Penumbra/Collections/ResolveData.cs b/Penumbra/Collections/ResolveData.cs index e0901e981..0c7bc967f 100644 --- a/Penumbra/Collections/ResolveData.cs +++ b/Penumbra/Collections/ResolveData.cs @@ -1,5 +1,3 @@ -using System; - namespace Penumbra.Collections; public readonly struct ResolveData diff --git a/Penumbra/CommandHandler.cs b/Penumbra/CommandHandler.cs index a78c4da7a..d18306173 100644 --- a/Penumbra/CommandHandler.cs +++ b/Penumbra/CommandHandler.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Runtime.CompilerServices; using Dalamud.Game; using Dalamud.Game.Command; using Dalamud.Game.Gui; diff --git a/Penumbra/Communication/ChangedItemClick.cs b/Penumbra/Communication/ChangedItemClick.cs index 01a5fd562..1e5bc8635 100644 --- a/Penumbra/Communication/ChangedItemClick.cs +++ b/Penumbra/Communication/ChangedItemClick.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api.Enums; diff --git a/Penumbra/Communication/ChangedItemHover.cs b/Penumbra/Communication/ChangedItemHover.cs index c0736256a..cf270ba0d 100644 --- a/Penumbra/Communication/ChangedItemHover.cs +++ b/Penumbra/Communication/ChangedItemHover.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/CollectionChange.cs b/Penumbra/Communication/CollectionChange.cs index 96dd61ab6..b815c48eb 100644 --- a/Penumbra/Communication/CollectionChange.cs +++ b/Penumbra/Communication/CollectionChange.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Collections; using Penumbra.Collections.Manager; diff --git a/Penumbra/Communication/CollectionInheritanceChanged.cs b/Penumbra/Communication/CollectionInheritanceChanged.cs index 00e905462..8288341d3 100644 --- a/Penumbra/Communication/CollectionInheritanceChanged.cs +++ b/Penumbra/Communication/CollectionInheritanceChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Collections; diff --git a/Penumbra/Communication/CreatedCharacterBase.cs b/Penumbra/Communication/CreatedCharacterBase.cs index 69d84ce2d..b1903e5b9 100644 --- a/Penumbra/Communication/CreatedCharacterBase.cs +++ b/Penumbra/Communication/CreatedCharacterBase.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api; using Penumbra.Collections; diff --git a/Penumbra/Communication/CreatingCharacterBase.cs b/Penumbra/Communication/CreatingCharacterBase.cs index 6161a9844..090ca40b2 100644 --- a/Penumbra/Communication/CreatingCharacterBase.cs +++ b/Penumbra/Communication/CreatingCharacterBase.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api; diff --git a/Penumbra/Communication/EnabledChanged.cs b/Penumbra/Communication/EnabledChanged.cs index 38c6b387d..fa7682351 100644 --- a/Penumbra/Communication/EnabledChanged.cs +++ b/Penumbra/Communication/EnabledChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api; diff --git a/Penumbra/Communication/ModDataChanged.cs b/Penumbra/Communication/ModDataChanged.cs index 941ed4d5b..cca546e00 100644 --- a/Penumbra/Communication/ModDataChanged.cs +++ b/Penumbra/Communication/ModDataChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Mods; using Penumbra.Mods.Manager; diff --git a/Penumbra/Communication/ModDirectoryChanged.cs b/Penumbra/Communication/ModDirectoryChanged.cs index 5a3fb4735..9fdb261ec 100644 --- a/Penumbra/Communication/ModDirectoryChanged.cs +++ b/Penumbra/Communication/ModDirectoryChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api; diff --git a/Penumbra/Communication/ModDiscoveryFinished.cs b/Penumbra/Communication/ModDiscoveryFinished.cs index b8e4e460a..8f5d31d59 100644 --- a/Penumbra/Communication/ModDiscoveryFinished.cs +++ b/Penumbra/Communication/ModDiscoveryFinished.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/ModDiscoveryStarted.cs b/Penumbra/Communication/ModDiscoveryStarted.cs index ee1936811..a2ff8633a 100644 --- a/Penumbra/Communication/ModDiscoveryStarted.cs +++ b/Penumbra/Communication/ModDiscoveryStarted.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/ModOptionChanged.cs b/Penumbra/Communication/ModOptionChanged.cs index a86826a3a..416cc8dfe 100644 --- a/Penumbra/Communication/ModOptionChanged.cs +++ b/Penumbra/Communication/ModOptionChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Mods; using Penumbra.Mods.Manager; diff --git a/Penumbra/Communication/ModPathChanged.cs b/Penumbra/Communication/ModPathChanged.cs index 675759dd4..99ec9109c 100644 --- a/Penumbra/Communication/ModPathChanged.cs +++ b/Penumbra/Communication/ModPathChanged.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using OtterGui.Classes; using Penumbra.Api; using Penumbra.Mods; diff --git a/Penumbra/Communication/ModSettingChanged.cs b/Penumbra/Communication/ModSettingChanged.cs index c3c9f671a..65bcf3edf 100644 --- a/Penumbra/Communication/ModSettingChanged.cs +++ b/Penumbra/Communication/ModSettingChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api; using Penumbra.Api.Enums; diff --git a/Penumbra/Communication/MtrlShpkLoaded.cs b/Penumbra/Communication/MtrlShpkLoaded.cs index 4b5600c9e..868692cd7 100644 --- a/Penumbra/Communication/MtrlShpkLoaded.cs +++ b/Penumbra/Communication/MtrlShpkLoaded.cs @@ -1,5 +1,4 @@ -using System; -using OtterGui.Classes; +using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/PostSettingsPanelDraw.cs b/Penumbra/Communication/PostSettingsPanelDraw.cs index f653bd0b8..b32b0dfa1 100644 --- a/Penumbra/Communication/PostSettingsPanelDraw.cs +++ b/Penumbra/Communication/PostSettingsPanelDraw.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/PreSettingsPanelDraw.cs b/Penumbra/Communication/PreSettingsPanelDraw.cs index 1167e92fa..e5857474a 100644 --- a/Penumbra/Communication/PreSettingsPanelDraw.cs +++ b/Penumbra/Communication/PreSettingsPanelDraw.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; namespace Penumbra.Communication; diff --git a/Penumbra/Communication/ResolvedFileChanged.cs b/Penumbra/Communication/ResolvedFileChanged.cs index 99cec8294..55e95320a 100644 --- a/Penumbra/Communication/ResolvedFileChanged.cs +++ b/Penumbra/Communication/ResolvedFileChanged.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Collections; using Penumbra.Mods; diff --git a/Penumbra/Communication/SelectTab.cs b/Penumbra/Communication/SelectTab.cs index 3dcf6d1b1..aaa362f6e 100644 --- a/Penumbra/Communication/SelectTab.cs +++ b/Penumbra/Communication/SelectTab.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Api.Enums; using Penumbra.Mods; diff --git a/Penumbra/Communication/TemporaryGlobalModChange.cs b/Penumbra/Communication/TemporaryGlobalModChange.cs index 8906627bb..12d42e480 100644 --- a/Penumbra/Communication/TemporaryGlobalModChange.cs +++ b/Penumbra/Communication/TemporaryGlobalModChange.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Mods; diff --git a/Penumbra/Configuration.cs b/Penumbra/Configuration.cs index a80563c99..72f8bb954 100644 --- a/Penumbra/Configuration.cs +++ b/Penumbra/Configuration.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Configuration; using Dalamud.Interface.Internal.Notifications; using Newtonsoft.Json; diff --git a/Penumbra/GlobalUsings.cs b/Penumbra/GlobalUsings.cs new file mode 100644 index 000000000..0f6538bb0 --- /dev/null +++ b/Penumbra/GlobalUsings.cs @@ -0,0 +1,14 @@ +// Global using directives + +global using System; +global using System.Collections; +global using System.Collections.Generic; +global using System.Diagnostics; +global using System.IO; +global using System.Linq; +global using System.Numerics; +global using System.Runtime.CompilerServices; +global using System.Runtime.InteropServices; +global using System.Security.Cryptography; +global using System.Threading; +global using System.Threading.Tasks; \ No newline at end of file diff --git a/Penumbra/Import/Structs/StreamDisposer.cs b/Penumbra/Import/Structs/StreamDisposer.cs index 65c67585b..7a755c40b 100644 --- a/Penumbra/Import/Structs/StreamDisposer.cs +++ b/Penumbra/Import/Structs/StreamDisposer.cs @@ -1,6 +1,4 @@ using Penumbra.Util; -using System; -using System.IO; namespace Penumbra.Import.Structs; diff --git a/Penumbra/Import/Structs/TexToolsStructs.cs b/Penumbra/Import/Structs/TexToolsStructs.cs index 2a160c627..bf3bccd88 100644 --- a/Penumbra/Import/Structs/TexToolsStructs.cs +++ b/Penumbra/Import/Structs/TexToolsStructs.cs @@ -1,4 +1,3 @@ -using System; using Penumbra.Api.Enums; namespace Penumbra.Import.Structs; diff --git a/Penumbra/Import/TexToolsImport.cs b/Penumbra/Import/TexToolsImport.cs index 49b344da9..ad61398f9 100644 --- a/Penumbra/Import/TexToolsImport.cs +++ b/Penumbra/Import/TexToolsImport.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text; -using System.Threading; -using System.Threading.Tasks; using Newtonsoft.Json; using OtterGui.Compression; using Penumbra.Import.Structs; diff --git a/Penumbra/Import/TexToolsImporter.Archives.cs b/Penumbra/Import/TexToolsImporter.Archives.cs index 13200a9c3..a41b9f247 100644 --- a/Penumbra/Import/TexToolsImporter.Archives.cs +++ b/Penumbra/Import/TexToolsImporter.Archives.cs @@ -2,7 +2,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OtterGui.Filesystem; -using Penumbra.Import.Structs; +using Penumbra.Import.Structs; using Penumbra.Mods; using SharpCompress.Archives; using SharpCompress.Archives.Rar; @@ -10,9 +10,6 @@ using SharpCompress.Archives.Zip; using SharpCompress.Common; using SharpCompress.Readers; -using System; -using System.IO; -using System.Linq; namespace Penumbra.Import; diff --git a/Penumbra/Import/TexToolsImporter.Gui.cs b/Penumbra/Import/TexToolsImporter.Gui.cs index db8183414..0c3e084d1 100644 --- a/Penumbra/Import/TexToolsImporter.Gui.cs +++ b/Penumbra/Import/TexToolsImporter.Gui.cs @@ -1,5 +1,3 @@ -using System.Linq; -using System.Numerics; using ImGuiNET; using OtterGui; using OtterGui.Raii; diff --git a/Penumbra/Import/TexToolsImporter.ModPack.cs b/Penumbra/Import/TexToolsImporter.ModPack.cs index 32c9c0e15..73b5d976d 100644 --- a/Penumbra/Import/TexToolsImporter.ModPack.cs +++ b/Penumbra/Import/TexToolsImporter.ModPack.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Newtonsoft.Json; using Penumbra.Api.Enums; using Penumbra.Import.Structs; diff --git a/Penumbra/Import/TexToolsMeta.Deserialization.cs b/Penumbra/Import/TexToolsMeta.Deserialization.cs index 49501d91c..eea1d8111 100644 --- a/Penumbra/Import/TexToolsMeta.Deserialization.cs +++ b/Penumbra/Import/TexToolsMeta.Deserialization.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using Lumina.Extensions; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; diff --git a/Penumbra/Import/TexToolsMeta.Export.cs b/Penumbra/Import/TexToolsMeta.Export.cs index 2eac8f593..466363628 100644 --- a/Penumbra/Import/TexToolsMeta.Export.cs +++ b/Penumbra/Import/TexToolsMeta.Export.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; diff --git a/Penumbra/Import/TexToolsMeta.Rgsp.cs b/Penumbra/Import/TexToolsMeta.Rgsp.cs index 7bb837ced..0fd94fb41 100644 --- a/Penumbra/Import/TexToolsMeta.Rgsp.cs +++ b/Penumbra/Import/TexToolsMeta.Rgsp.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using Penumbra.GameData.Enums; using Penumbra.Meta; using Penumbra.Meta.Files; diff --git a/Penumbra/Import/TexToolsMeta.cs b/Penumbra/Import/TexToolsMeta.cs index b07ac8ab4..b44f99a8c 100644 --- a/Penumbra/Import/TexToolsMeta.cs +++ b/Penumbra/Import/TexToolsMeta.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; using System.Text; using Penumbra.GameData; using Penumbra.Import.Structs; diff --git a/Penumbra/Import/Textures/BaseImage.cs b/Penumbra/Import/Textures/BaseImage.cs index f0f6a47eb..4f8c5305c 100644 --- a/Penumbra/Import/Textures/BaseImage.cs +++ b/Penumbra/Import/Textures/BaseImage.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Lumina.Data.Files; using OtterTex; using SixLabors.ImageSharp; diff --git a/Penumbra/Import/Textures/CombinedTexture.Manipulation.cs b/Penumbra/Import/Textures/CombinedTexture.Manipulation.cs index 9bc4a2a50..8bac0a3b0 100644 --- a/Penumbra/Import/Textures/CombinedTexture.Manipulation.cs +++ b/Penumbra/Import/Textures/CombinedTexture.Manipulation.cs @@ -1,14 +1,9 @@ -using System; -using System.Collections.Generic; -using System.Numerics; -using System.Threading.Tasks; using ImGuiNET; using OtterGui.Raii; using OtterGui; using SixLabors.ImageSharp.PixelFormats; using Dalamud.Interface; using Penumbra.UI; -using System.Linq; namespace Penumbra.Import.Textures; diff --git a/Penumbra/Import/Textures/CombinedTexture.Operations.cs b/Penumbra/Import/Textures/CombinedTexture.Operations.cs index 441cd3f0a..8494f12b1 100644 --- a/Penumbra/Import/Textures/CombinedTexture.Operations.cs +++ b/Penumbra/Import/Textures/CombinedTexture.Operations.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Numerics; - namespace Penumbra.Import.Textures; public partial class CombinedTexture diff --git a/Penumbra/Import/Textures/CombinedTexture.cs b/Penumbra/Import/Textures/CombinedTexture.cs index b7e2a90ac..98b87ac3a 100644 --- a/Penumbra/Import/Textures/CombinedTexture.cs +++ b/Penumbra/Import/Textures/CombinedTexture.cs @@ -1,8 +1,3 @@ -using System; -using System.IO; -using System.Numerics; -using System.Threading.Tasks; - namespace Penumbra.Import.Textures; public partial class CombinedTexture : IDisposable diff --git a/Penumbra/Import/Textures/RgbaPixelData.cs b/Penumbra/Import/Textures/RgbaPixelData.cs index 0314b1046..32540f16b 100644 --- a/Penumbra/Import/Textures/RgbaPixelData.cs +++ b/Penumbra/Import/Textures/RgbaPixelData.cs @@ -1,4 +1,3 @@ -using System; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; diff --git a/Penumbra/Import/Textures/TexFileParser.cs b/Penumbra/Import/Textures/TexFileParser.cs index f84442c1e..7f3246017 100644 --- a/Penumbra/Import/Textures/TexFileParser.cs +++ b/Penumbra/Import/Textures/TexFileParser.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using Lumina.Data.Files; using Lumina.Extensions; using OtterTex; diff --git a/Penumbra/Import/Textures/Texture.cs b/Penumbra/Import/Textures/Texture.cs index aefe72b47..fe1d33713 100644 --- a/Penumbra/Import/Textures/Texture.cs +++ b/Penumbra/Import/Textures/Texture.cs @@ -1,4 +1,3 @@ -using System; using ImGuiScene; using OtterTex; diff --git a/Penumbra/Import/Textures/TextureDrawer.cs b/Penumbra/Import/Textures/TextureDrawer.cs index d1b782685..b94fdbf8c 100644 --- a/Penumbra/Import/Textures/TextureDrawer.cs +++ b/Penumbra/Import/Textures/TextureDrawer.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using Lumina.Data.Files; diff --git a/Penumbra/Import/Textures/TextureManager.cs b/Penumbra/Import/Textures/TextureManager.cs index 9e4890f2e..90dfa3d03 100644 --- a/Penumbra/Import/Textures/TextureManager.cs +++ b/Penumbra/Import/Textures/TextureManager.cs @@ -1,11 +1,4 @@ -using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; -using System.Threading; -using System.Threading.Tasks; using Dalamud.Interface; using Dalamud.Plugin.Services; using ImGuiScene; diff --git a/Penumbra/Interop/MaterialPreview/LiveColorTablePreviewer.cs b/Penumbra/Interop/MaterialPreview/LiveColorTablePreviewer.cs index c95050912..f83b15317 100644 --- a/Penumbra/Interop/MaterialPreview/LiveColorTablePreviewer.cs +++ b/Penumbra/Interop/MaterialPreview/LiveColorTablePreviewer.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Game; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; diff --git a/Penumbra/Interop/MaterialPreview/LiveMaterialPreviewerBase.cs b/Penumbra/Interop/MaterialPreview/LiveMaterialPreviewerBase.cs index 88369725f..86fee9768 100644 --- a/Penumbra/Interop/MaterialPreview/LiveMaterialPreviewerBase.cs +++ b/Penumbra/Interop/MaterialPreview/LiveMaterialPreviewerBase.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; diff --git a/Penumbra/Interop/MaterialPreview/MaterialInfo.cs b/Penumbra/Interop/MaterialPreview/MaterialInfo.cs index 0146cf6f9..3f02e7e82 100644 --- a/Penumbra/Interop/MaterialPreview/MaterialInfo.cs +++ b/Penumbra/Interop/MaterialPreview/MaterialInfo.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Character; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; diff --git a/Penumbra/Interop/PathResolving/AnimationHookService.cs b/Penumbra/Interop/PathResolving/AnimationHookService.cs index b1efb1b97..cc679bfd6 100644 --- a/Penumbra/Interop/PathResolving/AnimationHookService.cs +++ b/Penumbra/Interop/PathResolving/AnimationHookService.cs @@ -1,5 +1,3 @@ -using System; -using System.Threading; using Dalamud.Game.ClientState.Conditions; using Dalamud.Hooking; using Dalamud.Plugin.Services; diff --git a/Penumbra/Interop/PathResolving/CollectionResolver.cs b/Penumbra/Interop/PathResolving/CollectionResolver.cs index a795b46b3..3f73643b4 100644 --- a/Penumbra/Interop/PathResolving/CollectionResolver.cs +++ b/Penumbra/Interop/PathResolving/CollectionResolver.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; using Penumbra.Collections; diff --git a/Penumbra/Interop/PathResolving/CutsceneService.cs b/Penumbra/Interop/PathResolving/CutsceneService.cs index 4273ae013..add121b6e 100644 --- a/Penumbra/Interop/PathResolving/CutsceneService.cs +++ b/Penumbra/Interop/PathResolving/CutsceneService.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Character; using Penumbra.GameData.Actors; diff --git a/Penumbra/Interop/PathResolving/DrawObjectState.cs b/Penumbra/Interop/PathResolving/DrawObjectState.cs index 12f867b4a..512d370ac 100644 --- a/Penumbra/Interop/PathResolving/DrawObjectState.cs +++ b/Penumbra/Interop/PathResolving/DrawObjectState.cs @@ -1,9 +1,5 @@ using Dalamud.Hooking; using Dalamud.Utility.Signatures; -using System; -using System.Collections; -using System.Collections.Generic; -using System.Threading; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Object; using Penumbra.GameData; diff --git a/Penumbra/Interop/PathResolving/IdentifiedCollectionCache.cs b/Penumbra/Interop/PathResolving/IdentifiedCollectionCache.cs index 2bf165c11..546ffd92d 100644 --- a/Penumbra/Interop/PathResolving/IdentifiedCollectionCache.cs +++ b/Penumbra/Interop/PathResolving/IdentifiedCollectionCache.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Character; using FFXIVClientStructs.FFXIV.Client.Game.Object; diff --git a/Penumbra/Interop/PathResolving/MetaState.cs b/Penumbra/Interop/PathResolving/MetaState.cs index f7a754fb6..6afaf5d18 100644 --- a/Penumbra/Interop/PathResolving/MetaState.cs +++ b/Penumbra/Interop/PathResolving/MetaState.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; diff --git a/Penumbra/Interop/PathResolving/PathResolver.cs b/Penumbra/Interop/PathResolving/PathResolver.cs index cc513a92c..2176ebba6 100644 --- a/Penumbra/Interop/PathResolving/PathResolver.cs +++ b/Penumbra/Interop/PathResolving/PathResolver.cs @@ -1,4 +1,3 @@ -using System; using System.Diagnostics.CodeAnalysis; using FFXIVClientStructs.FFXIV.Client.System.Resource; using Penumbra.Collections; diff --git a/Penumbra/Interop/PathResolving/PathState.cs b/Penumbra/Interop/PathResolving/PathState.cs index de9d65eee..0c6566a3e 100644 --- a/Penumbra/Interop/PathResolving/PathState.cs +++ b/Penumbra/Interop/PathResolving/PathState.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Runtime.CompilerServices; -using System.Threading; using Dalamud.Utility.Signatures; using Penumbra.Collections; using Penumbra.GameData; diff --git a/Penumbra/Interop/PathResolving/ResolvePathHooks.cs b/Penumbra/Interop/PathResolving/ResolvePathHooks.cs index 609c131d7..6f8f93dde 100644 --- a/Penumbra/Interop/PathResolving/ResolvePathHooks.cs +++ b/Penumbra/Interop/PathResolving/ResolvePathHooks.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.CompilerServices; using Dalamud.Hooking; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; using OtterGui.Classes; diff --git a/Penumbra/Interop/PathResolving/SubfileHelper.cs b/Penumbra/Interop/PathResolving/SubfileHelper.cs index c0b8c5e3e..b1bc806d0 100644 --- a/Penumbra/Interop/PathResolving/SubfileHelper.cs +++ b/Penumbra/Interop/PathResolving/SubfileHelper.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Threading; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using Penumbra.Collections; diff --git a/Penumbra/Interop/ResourceLoading/CreateFileWHook.cs b/Penumbra/Interop/ResourceLoading/CreateFileWHook.cs index 3f8c8d27a..6b751db7a 100644 --- a/Penumbra/Interop/ResourceLoading/CreateFileWHook.cs +++ b/Penumbra/Interop/ResourceLoading/CreateFileWHook.cs @@ -1,7 +1,4 @@ -using System; -using System.Runtime.InteropServices; using System.Text; -using System.Threading; using Dalamud.Hooking; using Penumbra.String; using Penumbra.String.Classes; diff --git a/Penumbra/Interop/ResourceLoading/FileReadService.cs b/Penumbra/Interop/ResourceLoading/FileReadService.cs index b09d568e8..6ca0efb44 100644 --- a/Penumbra/Interop/ResourceLoading/FileReadService.cs +++ b/Penumbra/Interop/ResourceLoading/FileReadService.cs @@ -1,7 +1,3 @@ -using System; -using System.Runtime.InteropServices; -using System.Threading; -using System.Threading.Tasks; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using Penumbra.GameData; diff --git a/Penumbra/Interop/ResourceLoading/ResourceLoader.cs b/Penumbra/Interop/ResourceLoading/ResourceLoader.cs index da50f26ef..5d5e4590d 100644 --- a/Penumbra/Interop/ResourceLoading/ResourceLoader.cs +++ b/Penumbra/Interop/ResourceLoading/ResourceLoader.cs @@ -1,12 +1,10 @@ -using System; -using System.Diagnostics; -using System.Threading; using FFXIVClientStructs.FFXIV.Client.System.Resource; using Penumbra.Collections; using Penumbra.GameData.Enums; using Penumbra.Interop.Structs; using Penumbra.String; using Penumbra.String.Classes; +using FileMode = Penumbra.Interop.Structs.FileMode; namespace Penumbra.Interop.ResourceLoading; diff --git a/Penumbra/Interop/ResourceLoading/ResourceManagerService.cs b/Penumbra/Interop/ResourceLoading/ResourceManagerService.cs index 4458e699a..0b29ee100 100644 --- a/Penumbra/Interop/ResourceLoading/ResourceManagerService.cs +++ b/Penumbra/Interop/ResourceLoading/ResourceManagerService.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.System.Resource; using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle; diff --git a/Penumbra/Interop/ResourceLoading/ResourceService.cs b/Penumbra/Interop/ResourceLoading/ResourceService.cs index 645596a3b..8b4a5d159 100644 --- a/Penumbra/Interop/ResourceLoading/ResourceService.cs +++ b/Penumbra/Interop/ResourceLoading/ResourceService.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.System.Resource; diff --git a/Penumbra/Interop/ResourceLoading/TexMdlService.cs b/Penumbra/Interop/ResourceLoading/TexMdlService.cs index e3d48cec3..6dac0e6b4 100644 --- a/Penumbra/Interop/ResourceLoading/TexMdlService.cs +++ b/Penumbra/Interop/ResourceLoading/TexMdlService.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle; diff --git a/Penumbra/Interop/ResourceTree/ResolveContext.cs b/Penumbra/Interop/ResourceTree/ResolveContext.cs index 24eea690e..0bbe8e663 100644 --- a/Penumbra/Interop/ResourceTree/ResolveContext.cs +++ b/Penumbra/Interop/ResourceTree/ResolveContext.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; using FFXIVClientStructs.FFXIV.Client.System.Resource; using OtterGui; diff --git a/Penumbra/Interop/ResourceTree/ResourceNode.cs b/Penumbra/Interop/ResourceTree/ResourceNode.cs index 17584787c..cae89c09c 100644 --- a/Penumbra/Interop/ResourceTree/ResourceNode.cs +++ b/Penumbra/Interop/ResourceTree/ResourceNode.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Penumbra.GameData.Enums; using Penumbra.String.Classes; using ChangedItemIcon = Penumbra.UI.ChangedItemDrawer.ChangedItemIcon; diff --git a/Penumbra/Interop/ResourceTree/ResourceTree.cs b/Penumbra/Interop/ResourceTree/ResourceTree.cs index 755103d71..d2276291e 100644 --- a/Penumbra/Interop/ResourceTree/ResourceTree.cs +++ b/Penumbra/Interop/ResourceTree/ResourceTree.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using FFXIVClientStructs.FFXIV.Client.Game.Character; using FFXIVClientStructs.FFXIV.Client.Game.Object; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; diff --git a/Penumbra/Interop/ResourceTree/ResourceTreeFactory.cs b/Penumbra/Interop/ResourceTree/ResourceTreeFactory.cs index 8d5318f2c..a2e29e482 100644 --- a/Penumbra/Interop/ResourceTree/ResourceTreeFactory.cs +++ b/Penumbra/Interop/ResourceTree/ResourceTreeFactory.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; -using System.Linq; using Dalamud.Plugin.Services; using FFXIVClientStructs.FFXIV.Client.Game.Character; using FFXIVClientStructs.FFXIV.Client.Game.Object; diff --git a/Penumbra/Interop/ResourceTree/TreeBuildCache.cs b/Penumbra/Interop/ResourceTree/TreeBuildCache.cs index d29916dda..43b25476c 100644 --- a/Penumbra/Interop/ResourceTree/TreeBuildCache.cs +++ b/Penumbra/Interop/ResourceTree/TreeBuildCache.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Plugin.Services; using Penumbra.GameData.Files; diff --git a/Penumbra/Interop/SafeHandles/SafeResourceHandle.cs b/Penumbra/Interop/SafeHandles/SafeResourceHandle.cs index 7ec0f2188..8dd1fb4ab 100644 --- a/Penumbra/Interop/SafeHandles/SafeResourceHandle.cs +++ b/Penumbra/Interop/SafeHandles/SafeResourceHandle.cs @@ -1,7 +1,4 @@ -using System; -using System.Runtime.InteropServices; -using System.Threading; -using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle; +using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle; namespace Penumbra.Interop.SafeHandles; diff --git a/Penumbra/Interop/SafeHandles/SafeTextureHandle.cs b/Penumbra/Interop/SafeHandles/SafeTextureHandle.cs index 36cd46123..88c97c540 100644 --- a/Penumbra/Interop/SafeHandles/SafeTextureHandle.cs +++ b/Penumbra/Interop/SafeHandles/SafeTextureHandle.cs @@ -1,7 +1,4 @@ -using System; -using System.Runtime.InteropServices; -using System.Threading; -using FFXIVClientStructs.FFXIV.Client.Graphics.Render; +using FFXIVClientStructs.FFXIV.Client.Graphics.Render; using Penumbra.Interop.Structs; namespace Penumbra.Interop.SafeHandles; diff --git a/Penumbra/Interop/Services/CharacterUtility.cs b/Penumbra/Interop/Services/CharacterUtility.cs index 00eab5319..48824888a 100644 --- a/Penumbra/Interop/Services/CharacterUtility.cs +++ b/Penumbra/Interop/Services/CharacterUtility.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Game; using Dalamud.Utility.Signatures; using Penumbra.Collections.Manager; diff --git a/Penumbra/Interop/Services/DecalReverter.cs b/Penumbra/Interop/Services/DecalReverter.cs index a8aa3fa2c..21fa87a19 100644 --- a/Penumbra/Interop/Services/DecalReverter.cs +++ b/Penumbra/Interop/Services/DecalReverter.cs @@ -1,4 +1,3 @@ -using System; using FFXIVClientStructs.FFXIV.Client.System.Resource; using Penumbra.Collections; using Penumbra.GameData.Enums; diff --git a/Penumbra/Interop/Services/GameEventManager.cs b/Penumbra/Interop/Services/GameEventManager.cs index ea8d32d1d..ca333ed47 100644 --- a/Penumbra/Interop/Services/GameEventManager.cs +++ b/Penumbra/Interop/Services/GameEventManager.cs @@ -1,7 +1,6 @@ using Dalamud.Hooking; using Dalamud.Utility.Signatures; using Penumbra.GameData; -using System; using FFXIVClientStructs.FFXIV.Client.Game.Character; using FFXIVClientStructs.FFXIV.Client.Game.Object; using Penumbra.Interop.Structs; diff --git a/Penumbra/Interop/Services/MetaList.cs b/Penumbra/Interop/Services/MetaList.cs index e2603f79f..e956040b1 100644 --- a/Penumbra/Interop/Services/MetaList.cs +++ b/Penumbra/Interop/Services/MetaList.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Penumbra.Interop.Structs; namespace Penumbra.Interop.Services; diff --git a/Penumbra/Interop/Services/RedrawService.cs b/Penumbra/Interop/Services/RedrawService.cs index 38b7de1c8..0b9c6c381 100644 --- a/Penumbra/Interop/Services/RedrawService.cs +++ b/Penumbra/Interop/Services/RedrawService.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Game; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Objects; diff --git a/Penumbra/Interop/Services/SkinFixer.cs b/Penumbra/Interop/Services/SkinFixer.cs index bb9e09830..211a062c1 100644 --- a/Penumbra/Interop/Services/SkinFixer.cs +++ b/Penumbra/Interop/Services/SkinFixer.cs @@ -1,6 +1,3 @@ -using System; -using System.Runtime.InteropServices; -using System.Threading; using Dalamud.Hooking; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; diff --git a/Penumbra/Interop/Structs/CharacterUtilityData.cs b/Penumbra/Interop/Structs/CharacterUtilityData.cs index 765ad25fb..87d9566c3 100644 --- a/Penumbra/Interop/Structs/CharacterUtilityData.cs +++ b/Penumbra/Interop/Structs/CharacterUtilityData.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Runtime.InteropServices; using Penumbra.GameData.Enums; namespace Penumbra.Interop.Structs; diff --git a/Penumbra/Interop/Structs/ClipScheduler.cs b/Penumbra/Interop/Structs/ClipScheduler.cs index d968ffbea..c8fd082d5 100644 --- a/Penumbra/Interop/Structs/ClipScheduler.cs +++ b/Penumbra/Interop/Structs/ClipScheduler.cs @@ -1,6 +1,3 @@ -using System; -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout( LayoutKind.Explicit )] diff --git a/Penumbra/Interop/Structs/ConstantBuffer.cs b/Penumbra/Interop/Structs/ConstantBuffer.cs index 52df64779..d61aaeea2 100644 --- a/Penumbra/Interop/Structs/ConstantBuffer.cs +++ b/Penumbra/Interop/Structs/ConstantBuffer.cs @@ -1,6 +1,3 @@ -using System; -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout(LayoutKind.Explicit, Size = 0x70)] diff --git a/Penumbra/Interop/Structs/DrawState.cs b/Penumbra/Interop/Structs/DrawState.cs index b30d1a76d..d0dfc22b4 100644 --- a/Penumbra/Interop/Structs/DrawState.cs +++ b/Penumbra/Interop/Structs/DrawState.cs @@ -1,5 +1,3 @@ -using System; - namespace Penumbra.Interop.Structs; [Flags] diff --git a/Penumbra/Interop/Structs/GetResourceParameters.cs b/Penumbra/Interop/Structs/GetResourceParameters.cs index eb413ead4..ef665b364 100644 --- a/Penumbra/Interop/Structs/GetResourceParameters.cs +++ b/Penumbra/Interop/Structs/GetResourceParameters.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout(LayoutKind.Explicit)] diff --git a/Penumbra/Interop/Structs/HumanExt.cs b/Penumbra/Interop/Structs/HumanExt.cs index 33d83b065..5eafa1f31 100644 --- a/Penumbra/Interop/Structs/HumanExt.cs +++ b/Penumbra/Interop/Structs/HumanExt.cs @@ -1,4 +1,3 @@ -using System.Runtime.InteropServices; using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; namespace Penumbra.Interop.Structs; diff --git a/Penumbra/Interop/Structs/Material.cs b/Penumbra/Interop/Structs/Material.cs index 3a204c75d..2bca832db 100644 --- a/Penumbra/Interop/Structs/Material.cs +++ b/Penumbra/Interop/Structs/Material.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; namespace Penumbra.Interop.Structs; diff --git a/Penumbra/Interop/Structs/MtrlResource.cs b/Penumbra/Interop/Structs/MtrlResource.cs index 424adfe40..55c7f8d84 100644 --- a/Penumbra/Interop/Structs/MtrlResource.cs +++ b/Penumbra/Interop/Structs/MtrlResource.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout( LayoutKind.Explicit )] diff --git a/Penumbra/Interop/Structs/RenderModel.cs b/Penumbra/Interop/Structs/RenderModel.cs index 9c8581b0c..25e928bee 100644 --- a/Penumbra/Interop/Structs/RenderModel.cs +++ b/Penumbra/Interop/Structs/RenderModel.cs @@ -1,4 +1,3 @@ -using System.Runtime.InteropServices; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; namespace Penumbra.Interop.Structs; diff --git a/Penumbra/Interop/Structs/ResidentResourceManager.cs b/Penumbra/Interop/Structs/ResidentResourceManager.cs index d5dd17157..08461b03e 100644 --- a/Penumbra/Interop/Structs/ResidentResourceManager.cs +++ b/Penumbra/Interop/Structs/ResidentResourceManager.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout(LayoutKind.Explicit)] diff --git a/Penumbra/Interop/Structs/ResourceHandle.cs b/Penumbra/Interop/Structs/ResourceHandle.cs index 5db0f8e1d..b23cf62f1 100644 --- a/Penumbra/Interop/Structs/ResourceHandle.cs +++ b/Penumbra/Interop/Structs/ResourceHandle.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using FFXIVClientStructs.FFXIV.Client.Graphics.Kernel; using FFXIVClientStructs.FFXIV.Client.Graphics.Render; using FFXIVClientStructs.FFXIV.Client.System.Resource; diff --git a/Penumbra/Interop/Structs/SeFileDescriptor.cs b/Penumbra/Interop/Structs/SeFileDescriptor.cs index 4e1a1f57c..d4ca3afad 100644 --- a/Penumbra/Interop/Structs/SeFileDescriptor.cs +++ b/Penumbra/Interop/Structs/SeFileDescriptor.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout( LayoutKind.Explicit )] diff --git a/Penumbra/Interop/Structs/ShaderPackageUtility.cs b/Penumbra/Interop/Structs/ShaderPackageUtility.cs index 5bf95f5b6..9f7ec1f5f 100644 --- a/Penumbra/Interop/Structs/ShaderPackageUtility.cs +++ b/Penumbra/Interop/Structs/ShaderPackageUtility.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; public static class ShaderPackageUtility diff --git a/Penumbra/Interop/Structs/VfxParams.cs b/Penumbra/Interop/Structs/VfxParams.cs index 644d5a9a1..76dbd3ed9 100644 --- a/Penumbra/Interop/Structs/VfxParams.cs +++ b/Penumbra/Interop/Structs/VfxParams.cs @@ -1,5 +1,3 @@ -using System.Runtime.InteropServices; - namespace Penumbra.Interop.Structs; [StructLayout( LayoutKind.Explicit )] diff --git a/Penumbra/Meta/Files/CmpFile.cs b/Penumbra/Meta/Files/CmpFile.cs index e67c5efd0..8a6040ec5 100644 --- a/Penumbra/Meta/Files/CmpFile.cs +++ b/Penumbra/Meta/Files/CmpFile.cs @@ -1,8 +1,6 @@ -using System; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; using Penumbra.Interop.Structs; -using System.Collections.Generic; using Penumbra.Interop.Services; using Penumbra.String.Functions; diff --git a/Penumbra/Meta/Files/EqdpFile.cs b/Penumbra/Meta/Files/EqdpFile.cs index 6d1b54766..8a99225f5 100644 --- a/Penumbra/Meta/Files/EqdpFile.cs +++ b/Penumbra/Meta/Files/EqdpFile.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; using Penumbra.Interop.Services; diff --git a/Penumbra/Meta/Files/EqpGmpFile.cs b/Penumbra/Meta/Files/EqpGmpFile.cs index 71563ef99..6e9fd010d 100644 --- a/Penumbra/Meta/Files/EqpGmpFile.cs +++ b/Penumbra/Meta/Files/EqpGmpFile.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Numerics; using Penumbra.GameData.Structs; using Penumbra.Interop.Services; using Penumbra.Interop.Structs; diff --git a/Penumbra/Meta/Files/EstFile.cs b/Penumbra/Meta/Files/EstFile.cs index 81749d462..91a108373 100644 --- a/Penumbra/Meta/Files/EstFile.cs +++ b/Penumbra/Meta/Files/EstFile.cs @@ -1,4 +1,3 @@ -using System; using System.Runtime.InteropServices; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; diff --git a/Penumbra/Meta/Files/EvpFile.cs b/Penumbra/Meta/Files/EvpFile.cs index 0b64e1e82..3d0b4dbef 100644 --- a/Penumbra/Meta/Files/EvpFile.cs +++ b/Penumbra/Meta/Files/EvpFile.cs @@ -1,4 +1,3 @@ -using System; using Penumbra.Interop.Structs; namespace Penumbra.Meta.Files; diff --git a/Penumbra/Meta/Files/ImcFile.cs b/Penumbra/Meta/Files/ImcFile.cs index 8c957bcc2..94bc24282 100644 --- a/Penumbra/Meta/Files/ImcFile.cs +++ b/Penumbra/Meta/Files/ImcFile.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Penumbra.GameData.Enums; using Penumbra.GameData.Structs; using Penumbra.Interop.Structs; diff --git a/Penumbra/Meta/Files/MetaBaseFile.cs b/Penumbra/Meta/Files/MetaBaseFile.cs index 46e875674..ab08efc26 100644 --- a/Penumbra/Meta/Files/MetaBaseFile.cs +++ b/Penumbra/Meta/Files/MetaBaseFile.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Memory; using Penumbra.Interop.Structs; using Penumbra.String.Functions; diff --git a/Penumbra/Meta/Manipulations/EqdpManipulation.cs b/Penumbra/Meta/Manipulations/EqdpManipulation.cs index 8524ab8cd..1e0756f22 100644 --- a/Penumbra/Meta/Manipulations/EqdpManipulation.cs +++ b/Penumbra/Meta/Manipulations/EqdpManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.GameData.Enums; diff --git a/Penumbra/Meta/Manipulations/EqpManipulation.cs b/Penumbra/Meta/Manipulations/EqpManipulation.cs index 91949ae42..8e1a2ded4 100644 --- a/Penumbra/Meta/Manipulations/EqpManipulation.cs +++ b/Penumbra/Meta/Manipulations/EqpManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.GameData.Enums; diff --git a/Penumbra/Meta/Manipulations/EstManipulation.cs b/Penumbra/Meta/Manipulations/EstManipulation.cs index 3496c56c1..da834b35f 100644 --- a/Penumbra/Meta/Manipulations/EstManipulation.cs +++ b/Penumbra/Meta/Manipulations/EstManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.GameData.Enums; diff --git a/Penumbra/Meta/Manipulations/GmpManipulation.cs b/Penumbra/Meta/Manipulations/GmpManipulation.cs index 6ce954fb1..94f7f971c 100644 --- a/Penumbra/Meta/Manipulations/GmpManipulation.cs +++ b/Penumbra/Meta/Manipulations/GmpManipulation.cs @@ -1,4 +1,3 @@ -using System.Runtime.InteropServices; using Newtonsoft.Json; using Penumbra.GameData.Structs; using Penumbra.Interop.Structs; diff --git a/Penumbra/Meta/Manipulations/ImcManipulation.cs b/Penumbra/Meta/Manipulations/ImcManipulation.cs index 51ecd0fb8..391daacce 100644 --- a/Penumbra/Meta/Manipulations/ImcManipulation.cs +++ b/Penumbra/Meta/Manipulations/ImcManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.GameData.Data; diff --git a/Penumbra/Meta/Manipulations/MetaManipulation.cs b/Penumbra/Meta/Manipulations/MetaManipulation.cs index 1e0760f13..94b45cdfd 100644 --- a/Penumbra/Meta/Manipulations/MetaManipulation.cs +++ b/Penumbra/Meta/Manipulations/MetaManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.Interop.Structs; diff --git a/Penumbra/Meta/Manipulations/RspManipulation.cs b/Penumbra/Meta/Manipulations/RspManipulation.cs index e61fafeab..7e5e3fcbd 100644 --- a/Penumbra/Meta/Manipulations/RspManipulation.cs +++ b/Penumbra/Meta/Manipulations/RspManipulation.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.InteropServices; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Penumbra.GameData.Enums; diff --git a/Penumbra/Meta/MetaFileManager.cs b/Penumbra/Meta/MetaFileManager.cs index 171ea7291..2f19537b6 100644 --- a/Penumbra/Meta/MetaFileManager.cs +++ b/Penumbra/Meta/MetaFileManager.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Runtime.CompilerServices; using Dalamud.Plugin.Services; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.System.Memory; diff --git a/Penumbra/Mods/Editor/DuplicateManager.cs b/Penumbra/Mods/Editor/DuplicateManager.cs index 3a58d91a5..4a5e7127c 100644 --- a/Penumbra/Mods/Editor/DuplicateManager.cs +++ b/Penumbra/Mods/Editor/DuplicateManager.cs @@ -1,8 +1,4 @@ -using System; using System.Collections; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Security.Cryptography; using System.Threading; using System.Threading.Tasks; diff --git a/Penumbra/Mods/Editor/FileRegistry.cs b/Penumbra/Mods/Editor/FileRegistry.cs index 2ce22ec14..2100526a1 100644 --- a/Penumbra/Mods/Editor/FileRegistry.cs +++ b/Penumbra/Mods/Editor/FileRegistry.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; using Penumbra.String.Classes; namespace Penumbra.Mods; diff --git a/Penumbra/Mods/Editor/IMod.cs b/Penumbra/Mods/Editor/IMod.cs index 88f04ef34..6fa645a93 100644 --- a/Penumbra/Mods/Editor/IMod.cs +++ b/Penumbra/Mods/Editor/IMod.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using OtterGui.Classes; using Penumbra.Mods.Subclasses; diff --git a/Penumbra/Mods/Editor/MdlMaterialEditor.cs b/Penumbra/Mods/Editor/MdlMaterialEditor.cs index 0fe9ec466..1c1a10b4f 100644 --- a/Penumbra/Mods/Editor/MdlMaterialEditor.cs +++ b/Penumbra/Mods/Editor/MdlMaterialEditor.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text; using System.Text.RegularExpressions; using OtterGui; diff --git a/Penumbra/Mods/Editor/ModBackup.cs b/Penumbra/Mods/Editor/ModBackup.cs index eb15de876..f49042719 100644 --- a/Penumbra/Mods/Editor/ModBackup.cs +++ b/Penumbra/Mods/Editor/ModBackup.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; using System.IO.Compression; -using System.Threading.Tasks; using OtterGui.Tasks; using Penumbra.Mods.Manager; diff --git a/Penumbra/Mods/Editor/ModEditor.cs b/Penumbra/Mods/Editor/ModEditor.cs index f65ce2804..2f39970d6 100644 --- a/Penumbra/Mods/Editor/ModEditor.cs +++ b/Penumbra/Mods/Editor/ModEditor.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using OtterGui; using OtterGui.Compression; using Penumbra.Mods.Subclasses; diff --git a/Penumbra/Mods/Editor/ModFileCollection.cs b/Penumbra/Mods/Editor/ModFileCollection.cs index 5ef290dc7..85a7a5449 100644 --- a/Penumbra/Mods/Editor/ModFileCollection.cs +++ b/Penumbra/Mods/Editor/ModFileCollection.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; using OtterGui; using Penumbra.String.Classes; diff --git a/Penumbra/Mods/Editor/ModFileEditor.cs b/Penumbra/Mods/Editor/ModFileEditor.cs index 4f9d22b30..1ca3edd40 100644 --- a/Penumbra/Mods/Editor/ModFileEditor.cs +++ b/Penumbra/Mods/Editor/ModFileEditor.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Penumbra.Mods.Editor; using Penumbra.Mods.Manager; using Penumbra.String.Classes; diff --git a/Penumbra/Mods/Editor/ModMerger.cs b/Penumbra/Mods/Editor/ModMerger.cs index 3b5babccf..5c9be2ac2 100644 --- a/Penumbra/Mods/Editor/ModMerger.cs +++ b/Penumbra/Mods/Editor/ModMerger.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using Dalamud.Utility; using OtterGui; diff --git a/Penumbra/Mods/Editor/ModMetaEditor.cs b/Penumbra/Mods/Editor/ModMetaEditor.cs index 4d845a7c3..e389c86a8 100644 --- a/Penumbra/Mods/Editor/ModMetaEditor.cs +++ b/Penumbra/Mods/Editor/ModMetaEditor.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Penumbra.Meta.Manipulations; using Penumbra.Mods.Manager; diff --git a/Penumbra/Mods/Editor/ModNormalizer.cs b/Penumbra/Mods/Editor/ModNormalizer.cs index 62d878151..9b17c3902 100644 --- a/Penumbra/Mods/Editor/ModNormalizer.cs +++ b/Penumbra/Mods/Editor/ModNormalizer.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using Dalamud.Interface.Internal.Notifications; using OtterGui; using OtterGui.Tasks; diff --git a/Penumbra/Mods/Editor/ModSwapEditor.cs b/Penumbra/Mods/Editor/ModSwapEditor.cs index 58ef10a08..c00bb821e 100644 --- a/Penumbra/Mods/Editor/ModSwapEditor.cs +++ b/Penumbra/Mods/Editor/ModSwapEditor.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Penumbra.Mods; using Penumbra.Mods.Manager; using Penumbra.String.Classes; diff --git a/Penumbra/Mods/Editor/ModelMaterialInfo.cs b/Penumbra/Mods/Editor/ModelMaterialInfo.cs index 38e76debf..741c23882 100644 --- a/Penumbra/Mods/Editor/ModelMaterialInfo.cs +++ b/Penumbra/Mods/Editor/ModelMaterialInfo.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using OtterGui; using OtterGui.Compression; using Penumbra.GameData.Files; diff --git a/Penumbra/Mods/ItemSwap/CustomizationSwap.cs b/Penumbra/Mods/ItemSwap/CustomizationSwap.cs index 7fd77199e..da56d204a 100644 --- a/Penumbra/Mods/ItemSwap/CustomizationSwap.cs +++ b/Penumbra/Mods/ItemSwap/CustomizationSwap.cs @@ -1,6 +1,3 @@ -using System; -using System.IO; -using System.Linq; using Penumbra.GameData.Data; using Penumbra.GameData.Enums; using Penumbra.GameData.Files; diff --git a/Penumbra/Mods/ItemSwap/EquipmentSwap.cs b/Penumbra/Mods/ItemSwap/EquipmentSwap.cs index 72cb9a03a..188fc317f 100644 --- a/Penumbra/Mods/ItemSwap/EquipmentSwap.cs +++ b/Penumbra/Mods/ItemSwap/EquipmentSwap.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Penumbra.GameData; using Penumbra.GameData.Data; using Penumbra.GameData.Enums; diff --git a/Penumbra/Mods/ItemSwap/ItemSwap.cs b/Penumbra/Mods/ItemSwap/ItemSwap.cs index 6ed2112ab..02e02ccbb 100644 --- a/Penumbra/Mods/ItemSwap/ItemSwap.cs +++ b/Penumbra/Mods/ItemSwap/ItemSwap.cs @@ -1,6 +1,4 @@ -using System; using System.Diagnostics.CodeAnalysis; -using System.IO; using System.Text.RegularExpressions; using Penumbra.GameData.Data; using Penumbra.GameData.Enums; diff --git a/Penumbra/Mods/ItemSwap/ItemSwapContainer.cs b/Penumbra/Mods/ItemSwap/ItemSwapContainer.cs index d1af1d09e..8e6473cc0 100644 --- a/Penumbra/Mods/ItemSwap/ItemSwapContainer.cs +++ b/Penumbra/Mods/ItemSwap/ItemSwapContainer.cs @@ -4,10 +4,6 @@ using Penumbra.GameData.Structs; using Penumbra.Meta.Manipulations; using Penumbra.String.Classes; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Penumbra.Meta; using Penumbra.Mods.Manager; using Penumbra.Services; diff --git a/Penumbra/Mods/ItemSwap/Swaps.cs b/Penumbra/Mods/ItemSwap/Swaps.cs index 36ca77cf1..0fa81a52d 100644 --- a/Penumbra/Mods/ItemSwap/Swaps.cs +++ b/Penumbra/Mods/ItemSwap/Swaps.cs @@ -1,11 +1,6 @@ -using System; using Penumbra.GameData.Files; using Penumbra.Meta.Manipulations; using Penumbra.String.Classes; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Security.Cryptography; using Penumbra.GameData.Enums; using Penumbra.Meta; using static Penumbra.Mods.ItemSwap.ItemSwap; diff --git a/Penumbra/Mods/Manager/ModCacheManager.cs b/Penumbra/Mods/Manager/ModCacheManager.cs index 1ace9536e..afd42f957 100644 --- a/Penumbra/Mods/Manager/ModCacheManager.cs +++ b/Penumbra/Mods/Manager/ModCacheManager.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using Penumbra.Communication; using Penumbra.GameData; using Penumbra.GameData.Data; diff --git a/Penumbra/Mods/Manager/ModDataEditor.cs b/Penumbra/Mods/Manager/ModDataEditor.cs index 431758151..66101dcdb 100644 --- a/Penumbra/Mods/Manager/ModDataEditor.cs +++ b/Penumbra/Mods/Manager/ModDataEditor.cs @@ -1,6 +1,3 @@ -using System; -using System.IO; -using System.Linq; using Dalamud.Utility; using Newtonsoft.Json.Linq; using OtterGui.Classes; diff --git a/Penumbra/Mods/Manager/ModExportManager.cs b/Penumbra/Mods/Manager/ModExportManager.cs index f2bfb9bc8..7d79d3d42 100644 --- a/Penumbra/Mods/Manager/ModExportManager.cs +++ b/Penumbra/Mods/Manager/ModExportManager.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using Penumbra.Communication; using Penumbra.Mods.Editor; using Penumbra.Services; diff --git a/Penumbra/Mods/Manager/ModFileSystem.cs b/Penumbra/Mods/Manager/ModFileSystem.cs index 8e6e729c2..f7006c4c1 100644 --- a/Penumbra/Mods/Manager/ModFileSystem.cs +++ b/Penumbra/Mods/Manager/ModFileSystem.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; using System.Text.RegularExpressions; using OtterGui.Filesystem; using Penumbra.Communication; diff --git a/Penumbra/Mods/Manager/ModImportManager.cs b/Penumbra/Mods/Manager/ModImportManager.cs index 45b3f2ecf..6c49ccf8e 100644 --- a/Penumbra/Mods/Manager/ModImportManager.cs +++ b/Penumbra/Mods/Manager/ModImportManager.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using Penumbra.Import; using Penumbra.Mods.Editor; diff --git a/Penumbra/Mods/Manager/ModManager.cs b/Penumbra/Mods/Manager/ModManager.cs index ac973be4f..f8d293a25 100644 --- a/Penumbra/Mods/Manager/ModManager.cs +++ b/Penumbra/Mods/Manager/ModManager.cs @@ -1,8 +1,4 @@ -using System; using System.Collections.Concurrent; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using Penumbra.Communication; using Penumbra.Mods.Editor; using Penumbra.Services; diff --git a/Penumbra/Mods/Manager/ModMigration.cs b/Penumbra/Mods/Manager/ModMigration.cs index d6c5e63f5..3cfab9438 100644 --- a/Penumbra/Mods/Manager/ModMigration.cs +++ b/Penumbra/Mods/Manager/ModMigration.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/Penumbra/Mods/Manager/ModOptionEditor.cs b/Penumbra/Mods/Manager/ModOptionEditor.cs index 4bf774fb2..3eeb13c6e 100644 --- a/Penumbra/Mods/Manager/ModOptionEditor.cs +++ b/Penumbra/Mods/Manager/ModOptionEditor.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Interface.Internal.Notifications; using OtterGui; using OtterGui.Filesystem; diff --git a/Penumbra/Mods/Manager/ModStorage.cs b/Penumbra/Mods/Manager/ModStorage.cs index 8421d6e2a..377bb4a70 100644 --- a/Penumbra/Mods/Manager/ModStorage.cs +++ b/Penumbra/Mods/Manager/ModStorage.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using OtterGui.Classes; using OtterGui.Widgets; diff --git a/Penumbra/Mods/Mod.cs b/Penumbra/Mods/Mod.cs index 4df41fb53..4ce6da9a7 100644 --- a/Penumbra/Mods/Mod.cs +++ b/Penumbra/Mods/Mod.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using OtterGui; using OtterGui.Classes; using Penumbra.Mods.Subclasses; diff --git a/Penumbra/Mods/ModCreator.cs b/Penumbra/Mods/ModCreator.cs index d63627f51..b5462eee0 100644 --- a/Penumbra/Mods/ModCreator.cs +++ b/Penumbra/Mods/ModCreator.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text; using System.Text.RegularExpressions; using Dalamud.Interface.Internal.Notifications; diff --git a/Penumbra/Mods/ModLocalData.cs b/Penumbra/Mods/ModLocalData.cs index 71aae013f..56ee827b8 100644 --- a/Penumbra/Mods/ModLocalData.cs +++ b/Penumbra/Mods/ModLocalData.cs @@ -1,6 +1,3 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Penumbra.Mods.Manager; diff --git a/Penumbra/Mods/ModMeta.cs b/Penumbra/Mods/ModMeta.cs index 669793456..49094aa04 100644 --- a/Penumbra/Mods/ModMeta.cs +++ b/Penumbra/Mods/ModMeta.cs @@ -1,4 +1,3 @@ -using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Penumbra.Services; diff --git a/Penumbra/Mods/Subclasses/IModGroup.cs b/Penumbra/Mods/Subclasses/IModGroup.cs index f66f29ea9..957fe21d9 100644 --- a/Penumbra/Mods/Subclasses/IModGroup.cs +++ b/Penumbra/Mods/Subclasses/IModGroup.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; using Newtonsoft.Json; using Penumbra.Api.Enums; using Penumbra.Services; diff --git a/Penumbra/Mods/Subclasses/ISubMod.cs b/Penumbra/Mods/Subclasses/ISubMod.cs index bf11527f5..ac92cd133 100644 --- a/Penumbra/Mods/Subclasses/ISubMod.cs +++ b/Penumbra/Mods/Subclasses/ISubMod.cs @@ -1,5 +1,3 @@ -using System.Collections.Generic; -using System.IO; using Newtonsoft.Json; using Penumbra.Meta.Manipulations; using Penumbra.Mods.Subclasses; diff --git a/Penumbra/Mods/Subclasses/Mod.Files.SubMod.cs b/Penumbra/Mods/Subclasses/Mod.Files.SubMod.cs index aad74a13c..7c43de86e 100644 --- a/Penumbra/Mods/Subclasses/Mod.Files.SubMod.cs +++ b/Penumbra/Mods/Subclasses/Mod.Files.SubMod.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; using Newtonsoft.Json.Linq; using Penumbra.Import; using Penumbra.Meta; diff --git a/Penumbra/Mods/Subclasses/ModSettings.cs b/Penumbra/Mods/Subclasses/ModSettings.cs index ae06a0822..537c989f4 100644 --- a/Penumbra/Mods/Subclasses/ModSettings.cs +++ b/Penumbra/Mods/Subclasses/ModSettings.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using OtterGui; using OtterGui.Filesystem; using Penumbra.Api.Enums; diff --git a/Penumbra/Mods/Subclasses/MultiModGroup.cs b/Penumbra/Mods/Subclasses/MultiModGroup.cs index facbacdc8..d40a79be0 100644 --- a/Penumbra/Mods/Subclasses/MultiModGroup.cs +++ b/Penumbra/Mods/Subclasses/MultiModGroup.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface.Internal.Notifications; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/Penumbra/Mods/Subclasses/SingleModGroup.cs b/Penumbra/Mods/Subclasses/SingleModGroup.cs index a67ee1e5e..a69238f57 100644 --- a/Penumbra/Mods/Subclasses/SingleModGroup.cs +++ b/Penumbra/Mods/Subclasses/SingleModGroup.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OtterGui; diff --git a/Penumbra/Mods/TemporaryMod.cs b/Penumbra/Mods/TemporaryMod.cs index ef7214149..fcd4a5f73 100644 --- a/Penumbra/Mods/TemporaryMod.cs +++ b/Penumbra/Mods/TemporaryMod.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using OtterGui.Classes; using Penumbra.Collections; using Penumbra.Meta.Manipulations; diff --git a/Penumbra/Penumbra.cs b/Penumbra/Penumbra.cs index eeee8fd0b..1402ef896 100644 --- a/Penumbra/Penumbra.cs +++ b/Penumbra/Penumbra.cs @@ -1,6 +1,3 @@ -using System; -using System.IO; -using System.Linq; using System.Text; using Dalamud.Plugin; using ImGuiNET; diff --git a/Penumbra/Services/BackupService.cs b/Penumbra/Services/BackupService.cs index 1acb5bdc7..0c13217a9 100644 --- a/Penumbra/Services/BackupService.cs +++ b/Penumbra/Services/BackupService.cs @@ -1,6 +1,3 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; using OtterGui.Classes; using OtterGui.Log; using Penumbra.Util; diff --git a/Penumbra/Services/ChatService.cs b/Penumbra/Services/ChatService.cs index 9ea52cacc..adb24618d 100644 --- a/Penumbra/Services/ChatService.cs +++ b/Penumbra/Services/ChatService.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Dalamud.Game.Gui; using Dalamud.Game.Text; using Dalamud.Game.Text.SeStringHandling; diff --git a/Penumbra/Services/CommunicatorService.cs b/Penumbra/Services/CommunicatorService.cs index 97340f6b1..3e61e3c16 100644 --- a/Penumbra/Services/CommunicatorService.cs +++ b/Penumbra/Services/CommunicatorService.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using OtterGui.Log; using Penumbra.Communication; diff --git a/Penumbra/Services/ConfigMigrationService.cs b/Penumbra/Services/ConfigMigrationService.cs index b9e58deb2..89f1063ee 100644 --- a/Penumbra/Services/ConfigMigrationService.cs +++ b/Penumbra/Services/ConfigMigrationService.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using OtterGui.Filesystem; diff --git a/Penumbra/Services/DalamudServices.cs b/Penumbra/Services/DalamudServices.cs index 039785667..6754d0bd1 100644 --- a/Penumbra/Services/DalamudServices.cs +++ b/Penumbra/Services/DalamudServices.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Game; using Dalamud.Game.ClientState.Conditions; using Dalamud.Game.ClientState.Keys; @@ -7,7 +6,6 @@ using Dalamud.Interface; using Dalamud.IoC; using Dalamud.Plugin; -using System.Linq; using System.Reflection; using Dalamud.Interface.DragDrop; using Dalamud.Plugin.Services; diff --git a/Penumbra/Services/FilenameService.cs b/Penumbra/Services/FilenameService.cs index b5fa5487e..c7ed60616 100644 --- a/Penumbra/Services/FilenameService.cs +++ b/Penumbra/Services/FilenameService.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; using Dalamud.Plugin; using OtterGui.Filesystem; using Penumbra.Collections; diff --git a/Penumbra/Services/SaveService.cs b/Penumbra/Services/SaveService.cs index 8429863b5..0e61c565d 100644 --- a/Penumbra/Services/SaveService.cs +++ b/Penumbra/Services/SaveService.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using OtterGui.Log; using Penumbra.Mods; diff --git a/Penumbra/Services/ServiceWrapper.cs b/Penumbra/Services/ServiceWrapper.cs index ca1e3624d..67ddb63da 100644 --- a/Penumbra/Services/ServiceWrapper.cs +++ b/Penumbra/Services/ServiceWrapper.cs @@ -1,5 +1,3 @@ -using System; -using System.Threading.Tasks; using OtterGui.Tasks; using Penumbra.Util; diff --git a/Penumbra/Services/StainService.cs b/Penumbra/Services/StainService.cs index 56893d702..1c6b3ef16 100644 --- a/Penumbra/Services/StainService.cs +++ b/Penumbra/Services/StainService.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using Dalamud.Plugin; using Dalamud.Plugin.Services; using OtterGui.Widgets; diff --git a/Penumbra/Services/ValidityChecker.cs b/Penumbra/Services/ValidityChecker.cs index 3d09f097d..e97a9a82c 100644 --- a/Penumbra/Services/ValidityChecker.cs +++ b/Penumbra/Services/ValidityChecker.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Reflection; using Dalamud.Interface.Internal.Notifications; using Dalamud.Plugin; diff --git a/Penumbra/UI/AdvancedWindow/FileEditor.cs b/Penumbra/UI/AdvancedWindow/FileEditor.cs index 8ed59fed2..2591145ff 100644 --- a/Penumbra/UI/AdvancedWindow/FileEditor.cs +++ b/Penumbra/UI/AdvancedWindow/FileEditor.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Interface.Internal.Notifications; using Dalamud.Plugin.Services; diff --git a/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs b/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs index c7c09de28..87598f5a0 100644 --- a/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs +++ b/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Interface.Internal.Notifications; using Dalamud.Utility; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Files.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Files.cs index fb1e59aa8..d14c7125d 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Files.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Files.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ColorTable.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ColorTable.cs index 2d868a427..4f04150fb 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ColorTable.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ColorTable.cs @@ -1,6 +1,3 @@ -using System; -using System.Numerics; -using System.Runtime.InteropServices; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ConstantEditor.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ConstantEditor.cs index 19e965396..7b80920de 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ConstantEditor.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.ConstantEditor.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Globalization; -using System.Numerics; using ImGuiNET; using OtterGui.Raii; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.MtrlTab.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.MtrlTab.cs index 121197426..6e98e923a 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.MtrlTab.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.MtrlTab.cs @@ -12,7 +12,6 @@ using OtterGui; using OtterGui.Classes; using OtterGui.Raii; -using Penumbra.GameData; using Penumbra.GameData.Data; using Penumbra.GameData.Files; using Penumbra.GameData.Structs; @@ -177,7 +176,7 @@ public void LoadShpk(FullPath path) if (mayVary && (data as JObject)?["Vary"] != null) { - var selector = BuildSelector(data!["Vary"]! + var selector = BuildSelector(data["Vary"]! .Select(key => (uint)key) .Select(key => Mtrl.GetShaderKey(key)?.Value ?? AssociatedShpk!.GetMaterialKeyById(key)!.Value.DefaultValue)); var index = (int)data["Selectors"]![selector.ToString()]!; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.Shpk.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.Shpk.cs index f6f480e75..a5746ec78 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.Shpk.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Materials.Shpk.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Numerics; using System.Text; using Dalamud.Interface; using ImGuiNET; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Meta.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Meta.cs index fd4c082e1..a6a93a362 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Meta.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Meta.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Models.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Models.cs index 518566f5b..c90eb2b49 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Models.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Models.cs @@ -4,7 +4,6 @@ using Penumbra.GameData.Files; using Penumbra.String.Classes; using System.Globalization; -using System.Linq; namespace Penumbra.UI.AdvancedWindow; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.QuickImport.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.QuickImport.cs index 88ed10dfc..43a1990e4 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.QuickImport.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.QuickImport.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using Lumina.Data; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.ShaderPackages.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.ShaderPackages.cs index c0868b710..fb2b51283 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.ShaderPackages.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.ShaderPackages.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using System.Text; using Dalamud.Interface.Internal.Notifications; using Dalamud.Interface; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.ShpkTab.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.ShpkTab.cs index 2df521307..58e2e0c1d 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.ShpkTab.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.ShpkTab.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Dalamud.Utility; using Lumina.Misc; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.Textures.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.Textures.cs index 12f98ccbc..20aea21e7 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.Textures.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.Textures.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; -using System.Numerics; -using System.Threading.Tasks; using ImGuiNET; using OtterGui; using OtterGui.Raii; diff --git a/Penumbra/UI/AdvancedWindow/ModEditWindow.cs b/Penumbra/UI/AdvancedWindow/ModEditWindow.cs index 6e1b1d242..703329e65 100644 --- a/Penumbra/UI/AdvancedWindow/ModEditWindow.cs +++ b/Penumbra/UI/AdvancedWindow/ModEditWindow.cs @@ -1,9 +1,3 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Numerics; using System.Text; using Dalamud.Interface; using Dalamud.Interface.Components; diff --git a/Penumbra/UI/AdvancedWindow/ModMergeTab.cs b/Penumbra/UI/AdvancedWindow/ModMergeTab.cs index f7490c933..75f75de0c 100644 --- a/Penumbra/UI/AdvancedWindow/ModMergeTab.cs +++ b/Penumbra/UI/AdvancedWindow/ModMergeTab.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs b/Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs index 7da0275b7..f435cb986 100644 --- a/Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs +++ b/Penumbra/UI/AdvancedWindow/ResourceTreeViewer.cs @@ -1,15 +1,10 @@ -using System; -using System.Collections.Generic; -using System.Numerics; -using System.Threading.Tasks; using Dalamud.Interface; using ImGuiNET; using OtterGui.Raii; using OtterGui; using Penumbra.Interop.ResourceTree; using Penumbra.UI.Classes; -using System.Linq; - + namespace Penumbra.UI.AdvancedWindow; public class ResourceTreeViewer diff --git a/Penumbra/UI/ChangedItemDrawer.cs b/Penumbra/UI/ChangedItemDrawer.cs index 902f66710..91d81ea35 100644 --- a/Penumbra/UI/ChangedItemDrawer.cs +++ b/Penumbra/UI/ChangedItemDrawer.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Plugin.Services; using Dalamud.Utility; diff --git a/Penumbra/UI/Changelog.cs b/Penumbra/UI/Changelog.cs index a91c21504..d7845ab74 100644 --- a/Penumbra/UI/Changelog.cs +++ b/Penumbra/UI/Changelog.cs @@ -1,4 +1,3 @@ -using System.Runtime.CompilerServices; using OtterGui.Widgets; namespace Penumbra.UI; diff --git a/Penumbra/UI/Classes/CollectionSelectHeader.cs b/Penumbra/UI/Classes/CollectionSelectHeader.cs index f71ae3231..f4fa1b68d 100644 --- a/Penumbra/UI/Classes/CollectionSelectHeader.cs +++ b/Penumbra/UI/Classes/CollectionSelectHeader.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Numerics; using ImGuiNET; using OtterGui.Raii; using OtterGui; diff --git a/Penumbra/UI/Classes/Colors.cs b/Penumbra/UI/Classes/Colors.cs index e2acc1a38..eb4dec4cb 100644 --- a/Penumbra/UI/Classes/Colors.cs +++ b/Penumbra/UI/Classes/Colors.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using OtterGui.Custom; namespace Penumbra.UI.Classes; diff --git a/Penumbra/UI/CollectionTab/CollectionCombo.cs b/Penumbra/UI/CollectionTab/CollectionCombo.cs index 94e6f6d28..fc37eaf2a 100644 --- a/Penumbra/UI/CollectionTab/CollectionCombo.cs +++ b/Penumbra/UI/CollectionTab/CollectionCombo.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using ImGuiNET; using OtterGui.Raii; using OtterGui.Widgets; diff --git a/Penumbra/UI/CollectionTab/CollectionPanel.cs b/Penumbra/UI/CollectionTab/CollectionPanel.cs index b5e60380f..fe248d994 100644 --- a/Penumbra/UI/CollectionTab/CollectionPanel.cs +++ b/Penumbra/UI/CollectionTab/CollectionPanel.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Game.ClientState.Objects; using Dalamud.Interface; using Dalamud.Interface.Components; diff --git a/Penumbra/UI/CollectionTab/CollectionSelector.cs b/Penumbra/UI/CollectionTab/CollectionSelector.cs index 746c2d5f8..e568ecaf2 100644 --- a/Penumbra/UI/CollectionTab/CollectionSelector.cs +++ b/Penumbra/UI/CollectionTab/CollectionSelector.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using ImGuiNET; using OtterGui; using OtterGui.Raii; diff --git a/Penumbra/UI/CollectionTab/IndividualAssignmentUi.cs b/Penumbra/UI/CollectionTab/IndividualAssignmentUi.cs index 376b7ad88..da011bde8 100644 --- a/Penumbra/UI/CollectionTab/IndividualAssignmentUi.cs +++ b/Penumbra/UI/CollectionTab/IndividualAssignmentUi.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Dalamud.Game.ClientState.Objects.Enums; using ImGuiNET; using OtterGui.Custom; diff --git a/Penumbra/UI/CollectionTab/InheritanceUi.cs b/Penumbra/UI/CollectionTab/InheritanceUi.cs index 87c09917b..4bcff426c 100644 --- a/Penumbra/UI/CollectionTab/InheritanceUi.cs +++ b/Penumbra/UI/CollectionTab/InheritanceUi.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/ConfigWindow.cs b/Penumbra/UI/ConfigWindow.cs index 6259ffe25..5cedd824c 100644 --- a/Penumbra/UI/ConfigWindow.cs +++ b/Penumbra/UI/ConfigWindow.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Dalamud.Interface.Windowing; using Dalamud.Plugin; using ImGuiNET; diff --git a/Penumbra/UI/FileDialogService.cs b/Penumbra/UI/FileDialogService.cs index c483c3b18..dc638ef5d 100644 --- a/Penumbra/UI/FileDialogService.cs +++ b/Penumbra/UI/FileDialogService.cs @@ -1,8 +1,4 @@ -using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Reflection; using Dalamud.Interface; using Dalamud.Interface.ImGuiFileDialog; diff --git a/Penumbra/UI/ImportPopup.cs b/Penumbra/UI/ImportPopup.cs index f97213c19..228cf4e1b 100644 --- a/Penumbra/UI/ImportPopup.cs +++ b/Penumbra/UI/ImportPopup.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Dalamud.Interface.Windowing; using ImGuiNET; using OtterGui.Raii; diff --git a/Penumbra/UI/LaunchButton.cs b/Penumbra/UI/LaunchButton.cs index 3aa470f59..5b9bf5a41 100644 --- a/Penumbra/UI/LaunchButton.cs +++ b/Penumbra/UI/LaunchButton.cs @@ -1,5 +1,3 @@ -using System; -using System.IO; using Dalamud.Interface; using Dalamud.Plugin; using ImGuiScene; diff --git a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs index 8d978413f..91da4da54 100644 --- a/Penumbra/UI/ModsTab/ModFileSystemSelector.cs +++ b/Penumbra/UI/ModsTab/ModFileSystemSelector.cs @@ -1,8 +1,3 @@ -using System; -using System.IO; -using System.Linq; -using System.Numerics; -using System.Runtime.InteropServices; using Dalamud.Game.ClientState.Keys; using Dalamud.Interface; using Dalamud.Interface.DragDrop; diff --git a/Penumbra/UI/ModsTab/ModFilter.cs b/Penumbra/UI/ModsTab/ModFilter.cs index 03fdc1771..4b2798f7b 100644 --- a/Penumbra/UI/ModsTab/ModFilter.cs +++ b/Penumbra/UI/ModsTab/ModFilter.cs @@ -1,5 +1,3 @@ -using System; - namespace Penumbra.UI.ModsTab; [Flags] diff --git a/Penumbra/UI/ModsTab/ModPanel.cs b/Penumbra/UI/ModsTab/ModPanel.cs index f0d28dab6..1866606ac 100644 --- a/Penumbra/UI/ModsTab/ModPanel.cs +++ b/Penumbra/UI/ModsTab/ModPanel.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Plugin; using ImGuiNET; diff --git a/Penumbra/UI/ModsTab/ModPanelChangedItemsTab.cs b/Penumbra/UI/ModsTab/ModPanelChangedItemsTab.cs index df2c905e5..e897f9401 100644 --- a/Penumbra/UI/ModsTab/ModPanelChangedItemsTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelChangedItemsTab.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using ImGuiNET; using OtterGui; using OtterGui.Classes; diff --git a/Penumbra/UI/ModsTab/ModPanelCollectionsTab.cs b/Penumbra/UI/ModsTab/ModPanelCollectionsTab.cs index 1bdb32c0a..22f8022ed 100644 --- a/Penumbra/UI/ModsTab/ModPanelCollectionsTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelCollectionsTab.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/ModsTab/ModPanelConflictsTab.cs b/Penumbra/UI/ModsTab/ModPanelConflictsTab.cs index 68a501232..83f79f56c 100644 --- a/Penumbra/UI/ModsTab/ModPanelConflictsTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelConflictsTab.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using ImGuiNET; using OtterGui.Raii; using OtterGui.Widgets; diff --git a/Penumbra/UI/ModsTab/ModPanelDescriptionTab.cs b/Penumbra/UI/ModsTab/ModPanelDescriptionTab.cs index 9cb229d15..256be8d6c 100644 --- a/Penumbra/UI/ModsTab/ModPanelDescriptionTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelDescriptionTab.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Interface; using ImGuiNET; using OtterGui.Raii; diff --git a/Penumbra/UI/ModsTab/ModPanelEditTab.cs b/Penumbra/UI/ModsTab/ModPanelEditTab.cs index bd5a62c4b..692cf8b7f 100644 --- a/Penumbra/UI/ModsTab/ModPanelEditTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelEditTab.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Numerics; using Dalamud.Interface; using Dalamud.Interface.Components; using Dalamud.Interface.Internal.Notifications; diff --git a/Penumbra/UI/ModsTab/ModPanelHeader.cs b/Penumbra/UI/ModsTab/ModPanelHeader.cs index e1da057fc..2c71426f5 100644 --- a/Penumbra/UI/ModsTab/ModPanelHeader.cs +++ b/Penumbra/UI/ModsTab/ModPanelHeader.cs @@ -1,6 +1,3 @@ -using System; -using System.Diagnostics; -using System.Numerics; using Dalamud.Interface.GameFonts; using Dalamud.Plugin; using ImGuiNET; diff --git a/Penumbra/UI/ModsTab/ModPanelSettingsTab.cs b/Penumbra/UI/ModsTab/ModPanelSettingsTab.cs index ad0f2e402..acfdcf28a 100644 --- a/Penumbra/UI/ModsTab/ModPanelSettingsTab.cs +++ b/Penumbra/UI/ModsTab/ModPanelSettingsTab.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Numerics; using ImGuiNET; using OtterGui.Raii; using OtterGui; diff --git a/Penumbra/UI/ModsTab/ModPanelTabBar.cs b/Penumbra/UI/ModsTab/ModPanelTabBar.cs index 503e471f3..3f1b0f771 100644 --- a/Penumbra/UI/ModsTab/ModPanelTabBar.cs +++ b/Penumbra/UI/ModsTab/ModPanelTabBar.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/ResourceWatcher/Record.cs b/Penumbra/UI/ResourceWatcher/Record.cs index e438be277..ec66ae082 100644 --- a/Penumbra/UI/ResourceWatcher/Record.cs +++ b/Penumbra/UI/ResourceWatcher/Record.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Classes; using Penumbra.Collections; using Penumbra.GameData.Enums; diff --git a/Penumbra/UI/ResourceWatcher/ResourceWatcher.cs b/Penumbra/UI/ResourceWatcher/ResourceWatcher.cs index ec0274b64..7ec22f232 100644 --- a/Penumbra/UI/ResourceWatcher/ResourceWatcher.cs +++ b/Penumbra/UI/ResourceWatcher/ResourceWatcher.cs @@ -1,6 +1,4 @@ -using System; using System.Collections.Concurrent; -using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using FFXIVClientStructs.FFXIV.Client.Game.Object; diff --git a/Penumbra/UI/ResourceWatcher/ResourceWatcherTable.cs b/Penumbra/UI/ResourceWatcher/ResourceWatcherTable.cs index 0b2f2ae51..905307baa 100644 --- a/Penumbra/UI/ResourceWatcher/ResourceWatcherTable.cs +++ b/Penumbra/UI/ResourceWatcher/ResourceWatcherTable.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/Tabs/ChangedItemsTab.cs b/Penumbra/UI/Tabs/ChangedItemsTab.cs index f85387f8f..4605527ad 100644 --- a/Penumbra/UI/Tabs/ChangedItemsTab.cs +++ b/Penumbra/UI/Tabs/ChangedItemsTab.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using ImGuiNET; using OtterGui; using OtterGui.Classes; diff --git a/Penumbra/UI/Tabs/CollectionsTab.cs b/Penumbra/UI/Tabs/CollectionsTab.cs index d0f227c86..4d6d2dd68 100644 --- a/Penumbra/UI/Tabs/CollectionsTab.cs +++ b/Penumbra/UI/Tabs/CollectionsTab.cs @@ -1,5 +1,3 @@ -using System; -using System.Numerics; using Dalamud.Game.ClientState.Objects; using Dalamud.Interface; using Dalamud.Plugin; diff --git a/Penumbra/UI/Tabs/ConfigTabBar.cs b/Penumbra/UI/Tabs/ConfigTabBar.cs index 49b6348a4..60339893c 100644 --- a/Penumbra/UI/Tabs/ConfigTabBar.cs +++ b/Penumbra/UI/Tabs/ConfigTabBar.cs @@ -1,4 +1,3 @@ -using System; using ImGuiNET; using OtterGui.Widgets; using Penumbra.Api.Enums; diff --git a/Penumbra/UI/Tabs/DebugTab.cs b/Penumbra/UI/Tabs/DebugTab.cs index 721227225..fc0168a02 100644 --- a/Penumbra/UI/Tabs/DebugTab.cs +++ b/Penumbra/UI/Tabs/DebugTab.cs @@ -1,7 +1,3 @@ -using System; -using System.IO; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Interface.Windowing; using Dalamud.Utility; diff --git a/Penumbra/UI/Tabs/EffectiveTab.cs b/Penumbra/UI/Tabs/EffectiveTab.cs index de9ad7066..3c1d08015 100644 --- a/Penumbra/UI/Tabs/EffectiveTab.cs +++ b/Penumbra/UI/Tabs/EffectiveTab.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using ImGuiNET; using OtterGui; diff --git a/Penumbra/UI/Tabs/ModsTab.cs b/Penumbra/UI/Tabs/ModsTab.cs index 10e4be1db..16f0180eb 100644 --- a/Penumbra/UI/Tabs/ModsTab.cs +++ b/Penumbra/UI/Tabs/ModsTab.cs @@ -2,9 +2,6 @@ using OtterGui; using OtterGui.Raii; using Penumbra.UI.Classes; -using System; -using System.Linq; -using System.Numerics; using Dalamud.Interface; using Dalamud.Plugin.Services; using OtterGui.Widgets; diff --git a/Penumbra/UI/Tabs/OnScreenTab.cs b/Penumbra/UI/Tabs/OnScreenTab.cs index c8f863331..8d323bafb 100644 --- a/Penumbra/UI/Tabs/OnScreenTab.cs +++ b/Penumbra/UI/Tabs/OnScreenTab.cs @@ -1,4 +1,3 @@ -using System; using OtterGui.Widgets; using Penumbra.Interop.ResourceTree; using Penumbra.UI.AdvancedWindow; diff --git a/Penumbra/UI/Tabs/ResourceTab.cs b/Penumbra/UI/Tabs/ResourceTab.cs index db1236bb8..020493d11 100644 --- a/Penumbra/UI/Tabs/ResourceTab.cs +++ b/Penumbra/UI/Tabs/ResourceTab.cs @@ -1,6 +1,3 @@ -using System; -using System.Linq; -using System.Numerics; using Dalamud.Game; using FFXIVClientStructs.FFXIV.Client.System.Resource; using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle; diff --git a/Penumbra/UI/Tabs/SettingsTab.cs b/Penumbra/UI/Tabs/SettingsTab.cs index 7f27e6eea..701d1ef69 100644 --- a/Penumbra/UI/Tabs/SettingsTab.cs +++ b/Penumbra/UI/Tabs/SettingsTab.cs @@ -1,7 +1,3 @@ -using System; -using System.IO; -using System.Numerics; -using System.Runtime.CompilerServices; using Dalamud.Interface; using Dalamud.Interface.Components; using Dalamud.Utility; diff --git a/Penumbra/UI/TutorialService.cs b/Penumbra/UI/TutorialService.cs index 7f9b2ce3a..87e709c38 100644 --- a/Penumbra/UI/TutorialService.cs +++ b/Penumbra/UI/TutorialService.cs @@ -1,5 +1,3 @@ -using System; -using System.Runtime.CompilerServices; using OtterGui.Widgets; using Penumbra.Collections; using Penumbra.Collections.Manager; diff --git a/Penumbra/UI/UiHelpers.cs b/Penumbra/UI/UiHelpers.cs index 8ae27dd6b..7f4fc7cb8 100644 --- a/Penumbra/UI/UiHelpers.cs +++ b/Penumbra/UI/UiHelpers.cs @@ -1,6 +1,3 @@ -using System.Diagnostics; -using System.IO; -using System.Numerics; using Dalamud.Interface; using Dalamud.Interface.Internal.Notifications; using ImGuiNET; diff --git a/Penumbra/UI/WindowSystem.cs b/Penumbra/UI/WindowSystem.cs index bde27bfc6..f08b6de9d 100644 --- a/Penumbra/UI/WindowSystem.cs +++ b/Penumbra/UI/WindowSystem.cs @@ -1,4 +1,3 @@ -using System; using Dalamud.Interface; using Dalamud.Interface.Windowing; using Dalamud.Plugin; diff --git a/Penumbra/Util/DictionaryExtensions.cs b/Penumbra/Util/DictionaryExtensions.cs index 31931fe74..74274c380 100644 --- a/Penumbra/Util/DictionaryExtensions.cs +++ b/Penumbra/Util/DictionaryExtensions.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Penumbra.Util; public static class DictionaryExtensions diff --git a/Penumbra/Util/FixedUlongStringEnumConverter.cs b/Penumbra/Util/FixedUlongStringEnumConverter.cs index 750422b41..85c61837b 100644 --- a/Penumbra/Util/FixedUlongStringEnumConverter.cs +++ b/Penumbra/Util/FixedUlongStringEnumConverter.cs @@ -1,4 +1,3 @@ -using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/Penumbra/Util/PenumbraSqPackStream.cs b/Penumbra/Util/PenumbraSqPackStream.cs index 0109ff354..d5b514336 100644 --- a/Penumbra/Util/PenumbraSqPackStream.cs +++ b/Penumbra/Util/PenumbraSqPackStream.cs @@ -1,8 +1,4 @@ -using System; -using System.Diagnostics; -using System.IO; using System.IO.Compression; -using System.Runtime.InteropServices; using Lumina.Data.Structs; using Lumina.Extensions;