#include <Spore ModAPI/Spore/CppRevEng.h>
static_detour_<DetourClass, Result(Parameters...)> struct
The object used for detouring static functions.
Template parameters | |
---|---|
Parameters | The parameter types of the function to detour, can be empty. |
This is internal, for real usage check static_detour macro.
Public types
- using detour_pointer = Result(*)(Parameters...)
- The type of function pointer used to keep track of the original function.
-
using detour_object = static_
detour_ <DetourClass, Result(Parameters...)>
Public static variables
-
static detour_
pointer original_function - The pointer to the original function, you can call this with the same parameters as the function.