Hooks
static bool BeforeCvDllGameContext_GetMap(CvDllGameContext* self, ICvMap1*& result);static void AfterCvDllGameContext_GetMap(CvDllGameContext* self, ICvMap1*& result);static ICvMap1* ReplaceCvDllGameContext_GetMap(ICvMap1* (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetMap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetMap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetMap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetMap);