diff --git a/Dalamud/Plugin/Internal/Types/LocalPluginManifest.cs b/Dalamud/Plugin/Internal/Types/LocalPluginManifest.cs index 03ca8b864..a68418b2f 100644 --- a/Dalamud/Plugin/Internal/Types/LocalPluginManifest.cs +++ b/Dalamud/Plugin/Internal/Types/LocalPluginManifest.cs @@ -1,4 +1,5 @@ using System.IO; + using Dalamud.Utility; using Newtonsoft.Json; @@ -10,24 +11,6 @@ namespace Dalamud.Plugin.Internal.Types /// internal record LocalPluginManifest : PluginManifest { - /// - /// Check if this manifest is valid. - /// - /// Whether or not this manifest is valid. - public bool CheckSanity() - { - if (this.InternalName.IsNullOrEmpty()) - return false; - - if (this.Name.IsNullOrEmpty()) - return false; - - if (this.DalamudApiLevel == 0) - return false; - - return true; - } - /// /// Gets or sets a value indicating whether the plugin is disabled and should not be loaded. /// This value supercedes the ".disabled" file functionality and should not be included in the plugin master. @@ -94,5 +77,23 @@ namespace Dalamud.Plugin.Internal.Types /// The plugin DLL. /// The .testing file. public static FileInfo GetTestingFile(FileInfo dllFile) => new(Path.Combine(dllFile.DirectoryName, ".testing")); + + /// + /// Check if this manifest is valid. + /// + /// Whether or not this manifest is valid. + public bool CheckSanity() + { + if (this.InternalName.IsNullOrEmpty()) + return false; + + if (this.Name.IsNullOrEmpty()) + return false; + + if (this.DalamudApiLevel == 0) + return false; + + return true; + } } } diff --git a/lib/FFXIVClientStructs b/lib/FFXIVClientStructs index 16b2b563f..2edb42de5 160000 --- a/lib/FFXIVClientStructs +++ b/lib/FFXIVClientStructs @@ -1 +1 @@ -Subproject commit 16b2b563f696310f87cfd0674fde564b3ca3f562 +Subproject commit 2edb42de52016ae42d95f5434296fbf0018993a6