mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
Config change event (#1301)
* Add events for config changes * Update ConfigChangeEvent.cs * change event names --------- Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
This commit is contained in:
parent
e52f7696ba
commit
7109f21387
5 changed files with 131 additions and 5 deletions
7
Dalamud/Game/Config/ConfigChangeEvent.cs
Normal file
7
Dalamud/Game/Config/ConfigChangeEvent.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Game.Config;
|
||||
|
||||
public abstract record ConfigChangeEvent(Enum Option);
|
||||
|
||||
public record ConfigChangeEvent<T>(T ConfigOption) : ConfigChangeEvent(ConfigOption) where T : Enum;
|
||||
Loading…
Add table
Add a link
Reference in a new issue