Bazaar developer reference

CvDllPreGame::civilizationPassword(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 110
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_civilizationPassword

Hooks

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

Code

110const CvString CvDllPreGame::civilizationPassword(PlayerTypes p)111{112	return CvPreGame::civilizationPassword(p);113}

Calls