Bazaar developer reference

CvPreGame::setTurnNotifyEmailAddress(PlayerTypes, const CvString &)

Defined in
CvPreGame.cpp, line 3044
Hook name
CivHooks::CvPreGame_setTurnNotifyEmailAddress

Hooks

static bool BeforeCvPreGame_setTurnNotifyEmailAddress(PlayerTypes p, const CvString& emailAddress);static void AfterCvPreGame_setTurnNotifyEmailAddress(PlayerTypes p, const CvString& emailAddress);static void ReplaceCvPreGame_setTurnNotifyEmailAddress(void (*original)(PlayerTypes, const CvString&), PlayerTypes p, const CvString& emailAddress);CivRegisterBefore<CivHooks::CvPreGame_setTurnNotifyEmailAddress>(host, &BeforeCvPreGame_setTurnNotifyEmailAddress);CivRegisterAfter<CivHooks::CvPreGame_setTurnNotifyEmailAddress>(host, &AfterCvPreGame_setTurnNotifyEmailAddress);CivRegisterReplace<CivHooks::CvPreGame_setTurnNotifyEmailAddress>(host, &ReplaceCvPreGame_setTurnNotifyEmailAddress);

Code

3044void setTurnNotifyEmailAddress(PlayerTypes p, const CvString& emailAddress)3045{3046	if(p >= 0 && p < MAX_PLAYERS)3047		s_turnNotifyEmailAddress.setAt(p, emailAddress);3048}

Calls

Called by