mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
28 lines
872 B
C#
28 lines
872 B
C#
namespace Dalamud.Plugin.Internal.Profiles;
|
|
|
|
/// <summary>
|
|
/// Class representing a single plugin in a profile.
|
|
/// </summary>
|
|
internal class ProfilePluginEntry
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProfilePluginEntry"/> class.
|
|
/// </summary>
|
|
/// <param name="internalName">The internal name of the plugin.</param>
|
|
/// <param name="state">A value indicating whether or not this entry is enabled.</param>
|
|
public ProfilePluginEntry(string internalName, bool state)
|
|
{
|
|
this.InternalName = internalName;
|
|
this.IsEnabled = state;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the internal name of the plugin.
|
|
/// </summary>
|
|
public string InternalName { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether or not this entry is enabled.
|
|
/// </summary>
|
|
public bool IsEnabled { get; }
|
|
}
|