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