Bazaar developer reference

CvPreGame::isTurnNotifyEmail(PlayerTypes)

Defined in
CvPreGame.cpp, line 1287
Hook name
CivHooks::CvPreGame_isTurnNotifyEmail

Hooks

static bool BeforeCvPreGame_isTurnNotifyEmail(PlayerTypes p, bool& result);static void AfterCvPreGame_isTurnNotifyEmail(PlayerTypes p, bool& result);static bool ReplaceCvPreGame_isTurnNotifyEmail(bool (*original)(PlayerTypes), PlayerTypes p);CivRegisterBefore<CivHooks::CvPreGame_isTurnNotifyEmail>(host, &BeforeCvPreGame_isTurnNotifyEmail);CivRegisterAfter<CivHooks::CvPreGame_isTurnNotifyEmail>(host, &AfterCvPreGame_isTurnNotifyEmail);CivRegisterReplace<CivHooks::CvPreGame_isTurnNotifyEmail>(host, &ReplaceCvPreGame_isTurnNotifyEmail);

Code

1287bool isTurnNotifyEmail(PlayerTypes p)1288{1289	if(p >= 0 && p < MAX_PLAYERS)1290		return s_turnNotifyEmail[p];1291	return false;1292}

Calls

Called by