Bazaar developer reference

CvPreGame::isPlayByEmail()

Defined in
CvPreGame.cpp, line 1221
Hook name
CivHooks::CvPreGame_isPlayByEmail

Hooks

static bool BeforeCvPreGame_isPlayByEmail(bool& result);static void AfterCvPreGame_isPlayByEmail(bool& result);static bool ReplaceCvPreGame_isPlayByEmail(bool (*original)());CivRegisterBefore<CivHooks::CvPreGame_isPlayByEmail>(host, &BeforeCvPreGame_isPlayByEmail);CivRegisterAfter<CivHooks::CvPreGame_isPlayByEmail>(host, &AfterCvPreGame_isPlayByEmail);CivRegisterReplace<CivHooks::CvPreGame_isPlayByEmail>(host, &ReplaceCvPreGame_isPlayByEmail);

Code

1221bool isPlayByEmail()1222{1223	GameTypes g = gameType();1224	return g == GAME_EMAIL_MULTIPLAYER;1225}

Calls

Called by