Bazaar developer reference

CvDllPreGame::setAdminPassword(const CvString &)

Defined in
CvDllPreGame.cpp, line 570
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setAdminPassword

Hooks

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

Code

570void CvDllPreGame::setAdminPassword(const CvString& p)571{572	CvPreGame::setAdminPassword(p);573}

Calls