refactor: new code style in IDalamudHook.cs

This commit is contained in:
goat 2021-04-06 20:56:01 +02:00
parent e6fd62ce2a
commit 4e01d45bbe

View file

@ -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; }
} }
} }