Method SetGlobalContext
- Namespace
- MonoMod.RuntimeDetour
- Assembly
- MonoMod.RuntimeDetour.dll
SetGlobalContext(DetourContext?)
Sets the global DetourContext, returning the old global context, if any.
public static DetourContext? SetGlobalContext(DetourContext? context)
Parameters
context
DetourContext- The DetourContext to make global.
Returns
- DetourContext
- The DetourContext which was previously global, if any.