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:
Cara 2023-07-06 13:26:26 +09:30 committed by GitHub
parent e52f7696ba
commit 7109f21387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 131 additions and 5 deletions

View 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;