Bazaar developer reference

CvGame::setOption(const char *, bool)

Defined in
CvGame.cpp, line 7288
Class
CvGame
Hook name
CivHooks::CvGame_setOption_with_const_char_bool

Hooks

static bool BeforeCvGame_setOption_with_const_char_bool(CvGame* self, const char* pszOption, bool bEnabled);static void AfterCvGame_setOption_with_const_char_bool(CvGame* self, const char* pszOption, bool bEnabled);static void ReplaceCvGame_setOption_with_const_char_bool(void (*original)(CvGame*, const char*, bool), CvGame* self, const char* pszOption, bool bEnabled);CivRegisterBefore<CivHooks::CvGame_setOption_with_const_char_bool>(host, &BeforeCvGame_setOption_with_const_char_bool);CivRegisterAfter<CivHooks::CvGame_setOption_with_const_char_bool>(host, &AfterCvGame_setOption_with_const_char_bool);CivRegisterReplace<CivHooks::CvGame_setOption_with_const_char_bool>(host, &ReplaceCvGame_setOption_with_const_char_bool);

Code

7288void CvGame::setOption(const char* pszOption, bool bEnabled)7289{7290	CvPreGame::SetGameOption(pszOption, (int)bEnabled);7291}

Calls

Called by