Bazaar developer reference

CvDllPreGame::setOverrideScenarioHandicap(bool)

Defined in
CvDllPreGame.cpp, line 820
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setOverrideScenarioHandicap

Hooks

static bool BeforeCvDllPreGame_setOverrideScenarioHandicap(CvDllPreGame* self, bool b);static void AfterCvDllPreGame_setOverrideScenarioHandicap(CvDllPreGame* self, bool b);static void ReplaceCvDllPreGame_setOverrideScenarioHandicap(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool b);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setOverrideScenarioHandicap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setOverrideScenarioHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setOverrideScenarioHandicap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setOverrideScenarioHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setOverrideScenarioHandicap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setOverrideScenarioHandicap);

Code

820void CvDllPreGame::setOverrideScenarioHandicap(bool b)821{822	CvPreGame::setOverrideScenarioHandicap(b);823}

Calls