mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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;
|
||||
|
||||
namespace Dalamud.Hooking {
|
||||
internal interface IDalamudHook {
|
||||
namespace Dalamud.Hooking
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface describing a generic hook.
|
||||
/// </summary>
|
||||
internal 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; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue