Hooks
static bool BeforeCvDllGameContext_GetHexDebugLayerScale(CvDllGameContext* self, const char* szLayerName, float& result);static void AfterCvDllGameContext_GetHexDebugLayerScale(CvDllGameContext* self, const char* szLayerName, float& result);static float ReplaceCvDllGameContext_GetHexDebugLayerScale(float (*original)(CvDllGameContext*, const char*), CvDllGameContext* self, const char* szLayerName);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetHexDebugLayerScale::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetHexDebugLayerScale);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetHexDebugLayerScale::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetHexDebugLayerScale);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetHexDebugLayerScale::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetHexDebugLayerScale);