Bazaar developer reference

CvDllPreGame::GetGameOption(const char *, int &)

Defined in
CvDllPreGame.cpp, line 200
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_GetGameOption

Hooks

static bool BeforeCvDllPreGame_GetGameOption(CvDllPreGame* self, const char* szOptionName, int& iValue, bool& result);static void AfterCvDllPreGame_GetGameOption(CvDllPreGame* self, const char* szOptionName, int& iValue, bool& result);static bool ReplaceCvDllPreGame_GetGameOption(bool (*original)(CvDllPreGame*, const char*, int&), CvDllPreGame* self, const char* szOptionName, int& iValue);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_GetGameOption);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_GetGameOption);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_GetGameOption::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_GetGameOption);

Code

200bool CvDllPreGame::GetGameOption(const char* szOptionName, int& iValue)201{202	return CvPreGame::GetGameOption(szOptionName, iValue);203}

Calls