Bazaar developer reference

CvDllPreGame::setTurnNotifyEmailAddress(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 1157
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setTurnNotifyEmailAddress

Hooks

static bool BeforeCvDllPreGame_setTurnNotifyEmailAddress(CvDllPreGame* self, PlayerTypes p, const CvString& emailAddress);static void AfterCvDllPreGame_setTurnNotifyEmailAddress(CvDllPreGame* self, PlayerTypes p, const CvString& emailAddress);static void ReplaceCvDllPreGame_setTurnNotifyEmailAddress(void (*original)(CvDllPreGame*, PlayerTypes, const CvString&), CvDllPreGame* self, PlayerTypes p, const CvString& emailAddress);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmailAddress::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setTurnNotifyEmailAddress);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmailAddress::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setTurnNotifyEmailAddress);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifyEmailAddress::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setTurnNotifyEmailAddress);

Code

1157void CvDllPreGame::setTurnNotifyEmailAddress(PlayerTypes p, const CvString& emailAddress)1158{1159	CvPreGame::setTurnNotifyEmailAddress(p, emailAddress);1160}

Calls