mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43: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
|
|
@ -1,6 +1,8 @@
|
|||
using System.Diagnostics;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
using Dalamud.Game.Config;
|
||||
using FFXIVClientStructs.FFXIV.Common.Configuration;
|
||||
|
||||
namespace Dalamud.Plugin.Services;
|
||||
|
||||
|
|
@ -9,6 +11,11 @@ namespace Dalamud.Plugin.Services;
|
|||
/// </summary>
|
||||
public interface IGameConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Event which is fired when a game config option is changed.
|
||||
/// </summary>
|
||||
public event EventHandler<ConfigChangeEvent> Changed;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection of config options that persist between characters.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue