Bazaar developer reference

CvGame::setStartYear(int)

Defined in
CvGame.cpp, line 4590
Class
CvGame
Hook name
CivHooks::CvGame_setStartYear

Hooks

static bool BeforeCvGame_setStartYear(CvGame* self, int iNewValue);static void AfterCvGame_setStartYear(CvGame* self, int iNewValue);static void ReplaceCvGame_setStartYear(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setStartYear>(host, &BeforeCvGame_setStartYear);CivRegisterAfter<CivHooks::CvGame_setStartYear>(host, &AfterCvGame_setStartYear);CivRegisterReplace<CivHooks::CvGame_setStartYear>(host, &ReplaceCvGame_setStartYear);

Code

4590void CvGame::setStartYear(int iNewValue)4591{4592	m_iStartYear = iNewValue;4593}

Called by