Hooks
static bool BeforeCvDllPreGame_write(CvDllPreGame* self, FDataStream& saveTo);static void AfterCvDllPreGame_write(CvDllPreGame* self, FDataStream& saveTo);static void ReplaceCvDllPreGame_write(void (*original)(CvDllPreGame*, FDataStream&), CvDllPreGame* self, FDataStream& saveTo);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_write::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_write);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_write::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_write);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_write::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_write);