Bazaar developer reference

CvDllPreGame::setCivilizationPassword(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 635
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCivilizationPassword

Hooks

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

Code

635void CvDllPreGame::setCivilizationPassword(PlayerTypes p, const CvString& pwd)636{637	CvPreGame::setCivilizationPassword(p, pwd);638}

Calls