Delegate InstructionHandler
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
Runs on a thread that reaches an InstructionHook, before the hooked instruction.
public delegate void InstructionHandler(CpuContext context)
Parameters
contextCpuContextThe thread's registers, which the handler reads and may change.
Constructors
InstructionHandler(object, nint)
public InstructionHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(CpuContext, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(CpuContext context, AsyncCallback callback, object @object)
Parameters
contextCpuContextcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(CpuContext)
public virtual void Invoke(CpuContext context)
Parameters
contextCpuContext