mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Add DetourHook support for extensions.
This commit is contained in:
parent
015b9e92b6
commit
0c29a0ff71
@ -299,6 +299,7 @@ void SDKExtension::SDK_OnDependenciesDropped()
|
|||||||
PluginId g_PLID = 0; /**< Metamod plugin ID */
|
PluginId g_PLID = 0; /**< Metamod plugin ID */
|
||||||
ISmmPlugin *g_PLAPI = NULL; /**< Metamod plugin API */
|
ISmmPlugin *g_PLAPI = NULL; /**< Metamod plugin API */
|
||||||
SourceHook::ISourceHook *g_SHPtr = NULL; /**< SourceHook pointer */
|
SourceHook::ISourceHook *g_SHPtr = NULL; /**< SourceHook pointer */
|
||||||
|
DetourHook::IDetourHook *g_DHPtr = NULL; /**< DetourHook pointer */
|
||||||
ISmmAPI *g_SMAPI = NULL; /**< SourceMM API pointer */
|
ISmmAPI *g_SMAPI = NULL; /**< SourceMM API pointer */
|
||||||
|
|
||||||
#ifndef META_NO_HL2SDK
|
#ifndef META_NO_HL2SDK
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user