Hooks
static bool BeforeCvDllPreGame_setPrivateGame(CvDllPreGame* self, bool isPrivateGame);static void AfterCvDllPreGame_setPrivateGame(CvDllPreGame* self, bool isPrivateGame);static void ReplaceCvDllPreGame_setPrivateGame(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool isPrivateGame);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setPrivateGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setPrivateGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setPrivateGame);