Bazaar developer reference

CvGame::isOption(const char *) const

Defined in
CvGame.cpp, line 7273
Class
CvGame
Hook name
CivHooks::CvGame_isOption_with_const_char_const

Hooks

static bool BeforeCvGame_isOption_with_const_char_const(const CvGame* self, const char* pszOption, bool& result);static void AfterCvGame_isOption_with_const_char_const(const CvGame* self, const char* pszOption, bool& result);static bool ReplaceCvGame_isOption_with_const_char_const(bool (*original)(const CvGame*, const char*), const CvGame* self, const char* pszOption);CivRegisterBefore<CivHooks::CvGame_isOption_with_const_char_const>(host, &BeforeCvGame_isOption_with_const_char_const);CivRegisterAfter<CivHooks::CvGame_isOption_with_const_char_const>(host, &AfterCvGame_isOption_with_const_char_const);CivRegisterReplace<CivHooks::CvGame_isOption_with_const_char_const>(host, &ReplaceCvGame_isOption_with_const_char_const);

Code

7273bool CvGame::isOption(const char* pszOption) const7274{7275	int i = 0;7276	CvPreGame::GetGameOption(pszOption, i);72777278	return (i == 1);7279}

Calls

Called by