From 4e01d45bbe7cc9e27b9ad272a0c67e052d647997 Mon Sep 17 00:00:00 2001
From: goat <16760685+goaaats@users.noreply.github.com>
Date: Tue, 6 Apr 2021 20:56:01 +0200
Subject: [PATCH] refactor: new code style in IDalamudHook.cs
---
Dalamud/Hooking/IDalamudHook.cs | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/Dalamud/Hooking/IDalamudHook.cs b/Dalamud/Hooking/IDalamudHook.cs
index fb756229d..d33fa47b8 100644
--- a/Dalamud/Hooking/IDalamudHook.cs
+++ b/Dalamud/Hooking/IDalamudHook.cs
@@ -1,9 +1,25 @@
using System;
-namespace Dalamud.Hooking {
- internal interface IDalamudHook {
+namespace Dalamud.Hooking
+{
+ ///
+ /// Interface describing a generic hook.
+ ///
+ internal interface IDalamudHook
+ {
+ ///
+ /// Gets the address to hook.
+ ///
public IntPtr Address { get; }
+
+ ///
+ /// Gets a value indicating whether or not the hook is enabled.
+ ///
public bool IsEnabled { get; }
+
+ ///
+ /// Gets a value indicating whether or not the hook is disposed.
+ ///
public bool IsDisposed { get; }
}
}