mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 20:03:41 +01:00
Turn ObjectVTableHook internal
This commit is contained in:
parent
8ec8979300
commit
e223057345
3 changed files with 5 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Hooking;
|
||||
namespace Dalamud.Hooking.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Manages a hook that works by replacing the vtable of target object.
|
||||
/// </summary>
|
||||
public unsafe class ObjectVTableHook : IDisposable
|
||||
internal unsafe class ObjectVTableHook : IDisposable
|
||||
{
|
||||
private readonly nint** ppVtbl;
|
||||
private readonly int numMethods;
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Hooking;
|
||||
namespace Dalamud.Hooking.Internal;
|
||||
|
||||
/// <summary>
|
||||
/// Typed version of <see cref="ObjectVTableHook"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="TVTableEnum">Type of VTable enum.</typeparam>
|
||||
public unsafe class ObjectVTableHook<TVTableEnum> : ObjectVTableHook
|
||||
internal unsafe class ObjectVTableHook<TVTableEnum> : ObjectVTableHook
|
||||
where TVTableEnum : unmanaged, Enum
|
||||
{
|
||||
/// <summary>
|
||||
|
|
@ -15,6 +15,7 @@ using Dalamud.Game.ClientState.GamePad;
|
|||
using Dalamud.Game.ClientState.Keys;
|
||||
using Dalamud.Game.Gui.Internal;
|
||||
using Dalamud.Hooking;
|
||||
using Dalamud.Hooking.Internal;
|
||||
using Dalamud.Interface.GameFonts;
|
||||
using Dalamud.Interface.Internal.ManagedAsserts;
|
||||
using Dalamud.Interface.Internal.Notifications;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue