mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-27 10:59:18 +01:00
14 lines
540 B
C#
14 lines
540 B
C#
namespace Dalamud.Game.Config;
|
|
|
|
/// <summary>
|
|
/// Represents a change in the configuration.
|
|
/// </summary>
|
|
/// <param name="Option">The option tha twas changed.</param>
|
|
public abstract record ConfigChangeEvent(Enum Option);
|
|
|
|
/// <summary>
|
|
/// Represents a generic change in the configuration.
|
|
/// </summary>
|
|
/// <param name="ConfigOption">The option that was changed.</param>
|
|
/// <typeparam name="T">The type of the option.</typeparam>
|
|
public record ConfigChangeEvent<T>(T ConfigOption) : ConfigChangeEvent(ConfigOption) where T : Enum;
|