Bazaar developer reference

CvDllPreGame::setGameSpeed(const CvString &)

Defined in
CvDllPreGame.cpp, line 720
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setGameSpeed_with_const_CvString

Hooks

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

Code

720void CvDllPreGame::setGameSpeed(const CvString& g)721{722	CvPreGame::setGameSpeed(g);723}

Calls