Bazaar developer reference

CvDllPreGame::setTurnNotifyEmail(PlayerTypes, bool)

Defined in
CvDllPreGame.cpp, line 1147
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setTurnNotifyEmail

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);

Code

1147void CvDllPreGame::setTurnNotifyEmail(PlayerTypes p, bool wantsEmail)1148{1149	CvPreGame::setTurnNotifyEmail(p, wantsEmail);1150}

Calls