Bazaar developer reference

CvDllPreGame::setQuickHandicap(const CvString &)

Defined in
CvDllPreGame.cpp, line 915
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setQuickHandicap_with_const_CvString

Hooks

static bool BeforeCvDllPreGame_setQuickHandicap_with_const_CvString(CvDllPreGame* self, const CvString& h);static void AfterCvDllPreGame_setQuickHandicap_with_const_CvString(CvDllPreGame* self, const CvString& h);static void ReplaceCvDllPreGame_setQuickHandicap_with_const_CvString(void (*original)(CvDllPreGame*, const CvString&), CvDllPreGame* self, const CvString& h);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap_with_const_CvString::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setQuickHandicap_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap_with_const_CvString::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setQuickHandicap_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setQuickHandicap_with_const_CvString::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setQuickHandicap_with_const_CvString);

Code

915void CvDllPreGame::setQuickHandicap(const CvString& h)916{917	CvPreGame::setQuickHandicap(h);918}

Calls