mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +01:00
refactor: new code style in IDalamudHook.cs
This commit is contained in:
parent
e6fd62ce2a
commit
4e01d45bbe
1 changed files with 18 additions and 2 deletions
|
|
@ -1,9 +1,25 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Dalamud.Hooking {
|
namespace Dalamud.Hooking
|
||||||
internal interface IDalamudHook {
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interface describing a generic hook.
|
||||||
|
/// </summary>
|
||||||
|
internal interface IDalamudHook
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the address to hook.
|
||||||
|
/// </summary>
|
||||||
public IntPtr Address { get; }
|
public IntPtr Address { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets a value indicating whether or not the hook is enabled.
|
||||||
|
/// </summary>
|
||||||
public bool IsEnabled { get; }
|
public bool IsEnabled { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets a value indicating whether or not the hook is disposed.
|
||||||
|
/// </summary>
|
||||||
public bool IsDisposed { get; }
|
public bool IsDisposed { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue