Bazaar developer reference

CvDllPreGame::setGameType(const CvString &)

Defined in
CvDllPreGame.cpp, line 755
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setGameType_with_const_CvString

Hooks

static bool BeforeCvDllPreGame_setGameType_with_const_CvString(CvDllPreGame* self, const CvString& g);static void AfterCvDllPreGame_setGameType_with_const_CvString(CvDllPreGame* self, const CvString& g);static void ReplaceCvDllPreGame_setGameType_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_setGameType_with_const_CvString::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setGameType_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameType_with_const_CvString::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setGameType_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameType_with_const_CvString::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setGameType_with_const_CvString);

Code

755void CvDllPreGame::setGameType(const CvString& g)756{757	CvPreGame::setGameType(g);758}

Calls