Bazaar developer reference

CvGame::setEstimateEndTurn(int)

Defined in
CvGame.cpp, line 4604
Class
CvGame
Hook name
CivHooks::CvGame_setEstimateEndTurn

Hooks

static bool BeforeCvGame_setEstimateEndTurn(CvGame* self, int iNewValue);static void AfterCvGame_setEstimateEndTurn(CvGame* self, int iNewValue);static void ReplaceCvGame_setEstimateEndTurn(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setEstimateEndTurn>(host, &BeforeCvGame_setEstimateEndTurn);CivRegisterAfter<CivHooks::CvGame_setEstimateEndTurn>(host, &AfterCvGame_setEstimateEndTurn);CivRegisterReplace<CivHooks::CvGame_setEstimateEndTurn>(host, &ReplaceCvGame_setEstimateEndTurn);

Code

4604void CvGame::setEstimateEndTurn(int iNewValue)4605{4606	m_iEstimateEndTurn = iNewValue;4607}

Called by