mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 20:03:41 +01:00
* wip * hacky fix for overlapping event text in profiler * move IsResumeGameAfterPluginLoad logic to PluginManager * fix some warnings * handle exceptions properly * remove ability to cancel, rename button to "hide" instead * undo Dalamud.Service refactor for now * warnings * add explainer, show which plugins are still loading * add some text if loading takes more than 3 minutes * undo wrong CS merge
27 lines
677 B
C#
27 lines
677 B
C#
namespace Dalamud.Hooking;
|
|
|
|
/// <summary>
|
|
/// Interface describing a generic hook.
|
|
/// </summary>
|
|
public interface IDalamudHook : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets the address to hook.
|
|
/// </summary>
|
|
public IntPtr Address { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether or not the hook is enabled.
|
|
/// </summary>
|
|
public bool IsEnabled { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether or not the hook is disposed.
|
|
/// </summary>
|
|
public bool IsDisposed { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the name of the hooking backend used for the hook.
|
|
/// </summary>
|
|
public string BackendName { get; }
|
|
}
|