deps: update FFXIVClientStructs

This commit is contained in:
goaaats 2021-12-21 11:21:51 +01:00
parent c142cc7167
commit 29201465f4
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 20 additions and 19 deletions

View file

@ -1,4 +1,5 @@
using System.IO; using System.IO;
using Dalamud.Utility; using Dalamud.Utility;
using Newtonsoft.Json; using Newtonsoft.Json;
@ -10,24 +11,6 @@ namespace Dalamud.Plugin.Internal.Types
/// </summary> /// </summary>
internal record LocalPluginManifest : PluginManifest internal record LocalPluginManifest : PluginManifest
{ {
/// <summary>
/// Check if this manifest is valid.
/// </summary>
/// <returns>Whether or not this manifest is valid.</returns>
public bool CheckSanity()
{
if (this.InternalName.IsNullOrEmpty())
return false;
if (this.Name.IsNullOrEmpty())
return false;
if (this.DalamudApiLevel == 0)
return false;
return true;
}
/// <summary> /// <summary>
/// Gets or sets a value indicating whether the plugin is disabled and should not be loaded. /// 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. /// 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
/// <param name="dllFile">The plugin DLL.</param> /// <param name="dllFile">The plugin DLL.</param>
/// <returns>The <see cref="PluginManifest"/> .testing file.</returns> /// <returns>The <see cref="PluginManifest"/> .testing file.</returns>
public static FileInfo GetTestingFile(FileInfo dllFile) => new(Path.Combine(dllFile.DirectoryName, ".testing")); public static FileInfo GetTestingFile(FileInfo dllFile) => new(Path.Combine(dllFile.DirectoryName, ".testing"));
/// <summary>
/// Check if this manifest is valid.
/// </summary>
/// <returns>Whether or not this manifest is valid.</returns>
public bool CheckSanity()
{
if (this.InternalName.IsNullOrEmpty())
return false;
if (this.Name.IsNullOrEmpty())
return false;
if (this.DalamudApiLevel == 0)
return false;
return true;
}
} }
} }

@ -1 +1 @@
Subproject commit 16b2b563f696310f87cfd0674fde564b3ca3f562 Subproject commit 2edb42de52016ae42d95f5434296fbf0018993a6