Bazaar developer reference

CvGame::setHandicapType(HandicapTypes)

Defined in
CvGame.cpp, line 5774
Class
CvGame
Hook name
CivHooks::CvGame_setHandicapType

Hooks

static bool BeforeCvGame_setHandicapType(CvGame* self, HandicapTypes eHandicap);static void AfterCvGame_setHandicapType(CvGame* self, HandicapTypes eHandicap);static void ReplaceCvGame_setHandicapType(void (*original)(CvGame*, HandicapTypes), CvGame* self, HandicapTypes eHandicap);CivRegisterBefore<CivHooks::CvGame_setHandicapType>(host, &BeforeCvGame_setHandicapType);CivRegisterAfter<CivHooks::CvGame_setHandicapType>(host, &AfterCvGame_setHandicapType);CivRegisterReplace<CivHooks::CvGame_setHandicapType>(host, &ReplaceCvGame_setHandicapType);

Code

5774void CvGame::setHandicapType(HandicapTypes eHandicap)5775{5776	m_eHandicap = eHandicap;5777}