mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Merge branch 'v9' into ihookprovider
This commit is contained in:
commit
7a182b6ef7
24 changed files with 446 additions and 285 deletions
|
|
@ -12,17 +12,17 @@ public interface IClientState
|
|||
/// <summary>
|
||||
/// Event that gets fired when the current Territory changes.
|
||||
/// </summary>
|
||||
public event EventHandler<ushort> TerritoryChanged;
|
||||
public event Action<ushort> TerritoryChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Event that fires when a character is logging in, and the local character object is available.
|
||||
/// </summary>
|
||||
public event EventHandler Login;
|
||||
public event Action Login;
|
||||
|
||||
/// <summary>
|
||||
/// Event that fires when a character is logging out.
|
||||
/// </summary>
|
||||
public event EventHandler Logout;
|
||||
public event Action Logout;
|
||||
|
||||
/// <summary>
|
||||
/// Event that fires when a character is entering PvP.
|
||||
|
|
@ -37,7 +37,7 @@ public interface IClientState
|
|||
/// <summary>
|
||||
/// Event that gets fired when a duty is ready.
|
||||
/// </summary>
|
||||
public event EventHandler<Lumina.Excel.GeneratedSheets.ContentFinderCondition> CfPop;
|
||||
public event Action<Lumina.Excel.GeneratedSheets.ContentFinderCondition> CfPop;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the language of the client.
|
||||
|
|
|
|||
|
|
@ -12,10 +12,25 @@ namespace Dalamud.Plugin.Services;
|
|||
public interface IGameConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// Event which is fired when a game config option is changed.
|
||||
/// Event which is fired when any game config option is changed.
|
||||
/// </summary>
|
||||
public event EventHandler<ConfigChangeEvent> Changed;
|
||||
|
||||
/// <summary>
|
||||
/// Event which is fired when a system config option is changed.
|
||||
/// </summary>
|
||||
public event EventHandler<ConfigChangeEvent> SystemChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Event which is fired when a UiConfig option is changed.
|
||||
/// </summary>
|
||||
public event EventHandler<ConfigChangeEvent> UiConfigChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Event which is fired when a UiControl config option is changed.
|
||||
/// </summary>
|
||||
public event EventHandler<ConfigChangeEvent> UiControlChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection of config options that persist between characters.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -76,6 +76,12 @@ public interface IPluginLog
|
|||
/// <inheritdoc cref="Information(string,object[])"/>
|
||||
/// <param name="exception">An (optional) exception that should be recorded alongside this event.</param>
|
||||
void Information(Exception? exception, string messageTemplate, params object[] values);
|
||||
|
||||
/// <inheritdoc cref="Information(string,object[])"/>
|
||||
void Info(string messageTemplate, params object[] values);
|
||||
|
||||
/// <inheritdoc cref="Information(Exception?,string,object[])"/>
|
||||
void Info(Exception? exception, string messageTemplate, params object[] values);
|
||||
|
||||
/// <summary>
|
||||
/// Log a <see cref="LogEventLevel.Debug" /> message to the Dalamud log for this plugin. This log level should be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue