mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 12:53:41 +01:00
add back DXGISwapChain::on_present hook as default for now
This commit is contained in:
parent
bd170ee74a
commit
ebee2f151e
7 changed files with 379 additions and 172 deletions
|
|
@ -54,6 +54,15 @@ internal unsafe class ObjectVTableHook : IDisposable
|
|||
/// <summary>Gets the span view of overriden vtable.</summary>
|
||||
public ReadOnlySpan<nint> OverridenVTableSpan => this.vtblOverriden.AsSpan();
|
||||
|
||||
/// <summary>Gets the address of the pointer to the vtable.</summary>
|
||||
public nint Address => (nint)this.ppVtbl;
|
||||
|
||||
/// <summary>Gets the address of the original vtable.</summary>
|
||||
public nint OriginalVTableAddress => (nint)this.pVtblOriginal;
|
||||
|
||||
/// <summary>Gets the address of the overriden vtable.</summary>
|
||||
public nint OverridenVTableAddress => (nint)Unsafe.AsPointer(ref this.vtblOverriden[0]);
|
||||
|
||||
/// <summary>Disables the hook.</summary>
|
||||
public void Disable()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue