mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
30 lines
768 B
C#
30 lines
768 B
C#
using System;
|
|
|
|
namespace Dalamud.Hooking
|
|
{
|
|
/// <summary>
|
|
/// Interface describing a generic hook.
|
|
/// </summary>
|
|
public interface IDalamudHook
|
|
{
|
|
/// <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; }
|
|
}
|
|
}
|