fix: dev plugins always need to retain their WorkingPluginId, even throughout reloads

This commit is contained in:
goat 2023-09-19 23:14:50 +02:00
parent f7ae34281f
commit 979a5463ca
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 46 additions and 6 deletions

View file

@ -1,3 +1,5 @@
using System;
namespace Dalamud.Configuration.Internal;
/// <summary>
@ -14,4 +16,9 @@ internal sealed class DevPluginSettings
/// Gets or sets a value indicating whether this plugin should automatically reload on file change.
/// </summary>
public bool AutomaticReloading { get; set; } = false;
/// <summary>
/// Gets or sets an ID uniquely identifying this specific instance of a devPlugin.
/// </summary>
public Guid WorkingPluginId { get; set; } = Guid.Empty;
}