CvGameSpeedInfo::getCulturePercent() const
- Defined in
- CvInfos.cpp, line 3374
- Class
- CvGameSpeedInfo
- Hook name
CivHooks::CvGameSpeedInfo_getCulturePercent
Hooks
static bool BeforeCvGameSpeedInfo_getCulturePercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getCulturePercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getCulturePercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getCulturePercent>(host, &BeforeCvGameSpeedInfo_getCulturePercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getCulturePercent>(host, &AfterCvGameSpeedInfo_getCulturePercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getCulturePercent>(host, &ReplaceCvGameSpeedInfo_getCulturePercent);
Code
3374int CvGameSpeedInfo::getCulturePercent() const3375{3376 return m_iCulturePercent;3377}
Called by
- CvCity::GetJONSCultureThreshold() const
- CvPlayerCulture::ChangeInfluenceOn(PlayerTypes, int, bool, bool)
- CvPlayerCulture::DoArchaeologyChoice(ArchaeologyChoiceType)
- CvPlayerCulture::GetTourismBlastStrength(int)
- CvPlayerCulture::GetWrittenArtifactCulture() const
- CvPlayer::receiveGoody(CvPlot *, GoodyTypes, CvUnit *)
- CvPlayerPolicies::GetNextPolicyCost()
- CvUnit::getBlastTourism()
- CvUnit::getGivePoliciesCulture()