Bazaar developer reference

CvDllPreGame::setQuickHandicap(HandicapTypes)

Defined in
CvDllPreGame.cpp, line 910
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setQuickHandicap

Hooks

static bool BeforeCvDllPreGame_setQuickHandicap(CvDllPreGame* self, HandicapTypes h);static void AfterCvDllPreGame_setQuickHandicap(CvDllPreGame* self, HandicapTypes h);static void ReplaceCvDllPreGame_setQuickHandicap(void (*original)(CvDllPreGame*, HandicapTypes), CvDllPreGame* self, HandicapTypes h);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setQuickHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setQuickHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setQuickHandicap);

Code

910void CvDllPreGame::setQuickHandicap(HandicapTypes h)911{912	CvPreGame::setQuickHandicap(h);913}

Calls