CvGame::getEstimateEndTurn() const
- Defined in
- CvGame.cpp, line 4597
- Class
- CvGame
- Hook name
CivHooks::CvGame_getEstimateEndTurn
Hooks
static bool BeforeCvGame_getEstimateEndTurn(const CvGame* self, int& result);static void AfterCvGame_getEstimateEndTurn(const CvGame* self, int& result);static int ReplaceCvGame_getEstimateEndTurn(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getEstimateEndTurn>(host, &BeforeCvGame_getEstimateEndTurn);CivRegisterAfter<CivHooks::CvGame_getEstimateEndTurn>(host, &AfterCvGame_getEstimateEndTurn);CivRegisterReplace<CivHooks::CvGame_getEstimateEndTurn>(host, &ReplaceCvGame_getEstimateEndTurn);
Code
4597int CvGame::getEstimateEndTurn() const4598{4599 return m_iEstimateEndTurn;4600}
Called by
- CvGame::init(HandicapTypes)
- CvMinorCivAI::GetBullyGoldAmount(PlayerTypes)
- CvMinorCivAI::GetFriendshipFromGoldGift(PlayerTypes, int)
- CvPlayer::GetScore(bool, bool) const
- CvPlayerAI::AI_chooseFreeGreatPerson()
- CvPlayerAI::GetDirectiveEngineer(CvUnit *)
- CvPlayerAI::GetDirectiveMerchant(CvUnit *)
- CvPlayerAI::GetDirectiveScientist(CvUnit *)
- CvTacticalAI::IsHighPriorityCivilianTarget(CvTacticalTarget *)
- CvTacticalAI::IsMediumPriorityCivilianTarget(CvTacticalTarget *)
- CvPlayerTraits::ChooseMayaBoost()
- CvTreasury::CalculateUnitSupply(int &, int &)
- CvLuaGame::lGetEstimateEndTurn(lua_State *)