Bazaar developer reference

CvPreGame::setTurnNotifyEmail(PlayerTypes, bool)

Defined in
CvPreGame.cpp, line 3038
Hook name
CivHooks::CvPreGame_setTurnNotifyEmail

Hooks

static bool BeforeCvPreGame_setTurnNotifyEmail(PlayerTypes p, bool flag);static void AfterCvPreGame_setTurnNotifyEmail(PlayerTypes p, bool flag);static void ReplaceCvPreGame_setTurnNotifyEmail(void (*original)(PlayerTypes, bool), PlayerTypes p, bool flag);CivRegisterBefore<CivHooks::CvPreGame_setTurnNotifyEmail>(host, &BeforeCvPreGame_setTurnNotifyEmail);CivRegisterAfter<CivHooks::CvPreGame_setTurnNotifyEmail>(host, &AfterCvPreGame_setTurnNotifyEmail);CivRegisterReplace<CivHooks::CvPreGame_setTurnNotifyEmail>(host, &ReplaceCvPreGame_setTurnNotifyEmail);

Code

3038void setTurnNotifyEmail(PlayerTypes p, bool flag)3039{3040	if(p >= 0 && p < MAX_PLAYERS)3041		s_turnNotifyEmail.setAt(p, flag);3042}

Calls

Called by