Bazaar developer reference

CvGame::setDefaultEstimateEndTurn(int)

Defined in
CvGame.cpp, line 4617
Class
CvGame
Hook name
CivHooks::CvGame_setDefaultEstimateEndTurn

Hooks

static bool BeforeCvGame_setDefaultEstimateEndTurn(CvGame* self, int iNewValue);static void AfterCvGame_setDefaultEstimateEndTurn(CvGame* self, int iNewValue);static void ReplaceCvGame_setDefaultEstimateEndTurn(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setDefaultEstimateEndTurn>(host, &BeforeCvGame_setDefaultEstimateEndTurn);CivRegisterAfter<CivHooks::CvGame_setDefaultEstimateEndTurn>(host, &AfterCvGame_setDefaultEstimateEndTurn);CivRegisterReplace<CivHooks::CvGame_setDefaultEstimateEndTurn>(host, &ReplaceCvGame_setDefaultEstimateEndTurn);

Code

4617void CvGame::setDefaultEstimateEndTurn(int iNewValue)4618{4619	m_iDefaultEstimateEndTurn = iNewValue;4620}

Called by