Bazaar developer reference

CvGame::setNumAdvancedStartPoints(int)

Defined in
CvGame.cpp, line 4551
Class
CvGame
Hook name
CivHooks::CvGame_setNumAdvancedStartPoints

Hooks

static bool BeforeCvGame_setNumAdvancedStartPoints(CvGame* self, int iNewValue);static void AfterCvGame_setNumAdvancedStartPoints(CvGame* self, int iNewValue);static void ReplaceCvGame_setNumAdvancedStartPoints(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setNumAdvancedStartPoints>(host, &BeforeCvGame_setNumAdvancedStartPoints);CivRegisterAfter<CivHooks::CvGame_setNumAdvancedStartPoints>(host, &AfterCvGame_setNumAdvancedStartPoints);CivRegisterReplace<CivHooks::CvGame_setNumAdvancedStartPoints>(host, &ReplaceCvGame_setNumAdvancedStartPoints);

Code

4551void CvGame::setNumAdvancedStartPoints(int iNewValue)4552{4553	CvPreGame::setAdvancedStartPoints(iNewValue);4554	CvAssert(getNumAdvancedStartPoints() >= 0);4555}

Calls

Called by