Hooks
static bool BeforeCvDllPreGame_setTurnNotifyEmail(CvDllPreGame* self, PlayerTypes p, bool wantsEmail);static void AfterCvDllPreGame_setTurnNotifyEmail(CvDllPreGame* self, PlayerTypes p, bool wantsEmail);static void ReplaceCvDllPreGame_setTurnNotifyEmail(void (*original)(CvDllPreGame*, PlayerTypes, bool), CvDllPreGame* self, PlayerTypes p, bool wantsEmail);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmail::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setTurnNotifyEmail);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmail::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setTurnNotifyEmail);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmail::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setTurnNotifyEmail);