CvGameSpeedInfo::getGreatPeoplePercent() const
- Defined in
- CvInfos.cpp, line 3369
- Class
- CvGameSpeedInfo
- Hook name
CivHooks::CvGameSpeedInfo_getGreatPeoplePercent
Hooks
static bool BeforeCvGameSpeedInfo_getGreatPeoplePercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getGreatPeoplePercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getGreatPeoplePercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getGreatPeoplePercent>(host, &BeforeCvGameSpeedInfo_getGreatPeoplePercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getGreatPeoplePercent>(host, &AfterCvGameSpeedInfo_getGreatPeoplePercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getGreatPeoplePercent>(host, &ReplaceCvGameSpeedInfo_getGreatPeoplePercent);
Code
3369int CvGameSpeedInfo::getGreatPeoplePercent() const3370{3371 return m_iGreatPeoplePercent;3372}
Called by
- CvCityCitizens::GetSpecialistUpgradeThreshold(UnitClassTypes)
- CvMinorCivAI::DoTestSeedGlobalQuestCountdown(bool)
- CvMinorCivAI::DoTestSeedQuestCountdownForPlayer(PlayerTypes, bool)
- CvMinorCivAI::GetSpawnBaseTurns(PlayerTypes)
- CvMinorCivQuest::GetEndTurn() const
- CvPlayer::DoSeedGreatPeopleSpawnCounter()
- CvPlayer::GetGoldenAgeProgressThreshold() const
- CvPlayer::greatAdmiralThreshold() const
- CvPlayer::greatGeneralThreshold() const
- CvUnit::DoUpgradeTo(UnitTypes, bool)