Bazaar developer reference

CvGame::setOption(GameOptionTypes, bool)

Defined in
CvGame.cpp, line 7282
Class
CvGame
Hook name
CivHooks::CvGame_setOption

Hooks

static bool BeforeCvGame_setOption(CvGame* self, GameOptionTypes eIndex, bool bEnabled);static void AfterCvGame_setOption(CvGame* self, GameOptionTypes eIndex, bool bEnabled);static void ReplaceCvGame_setOption(void (*original)(CvGame*, GameOptionTypes, bool), CvGame* self, GameOptionTypes eIndex, bool bEnabled);CivRegisterBefore<CivHooks::CvGame_setOption>(host, &BeforeCvGame_setOption);CivRegisterAfter<CivHooks::CvGame_setOption>(host, &AfterCvGame_setOption);CivRegisterReplace<CivHooks::CvGame_setOption>(host, &ReplaceCvGame_setOption);

Code

7282void CvGame::setOption(GameOptionTypes eIndex, bool bEnabled)7283{7284	CvPreGame::SetGameOption(eIndex, (int)bEnabled);7285}

Calls

Called by