Bazaar developer reference

CvGame::GetCachedWorldReligionTechProgress() const

Defined in
CvGame.cpp, line 6856
Class
CvGame
Hook name
CivHooks::CvGame_GetCachedWorldReligionTechProgress

Hooks

static bool BeforeCvGame_GetCachedWorldReligionTechProgress(const CvGame* self, int& result);static void AfterCvGame_GetCachedWorldReligionTechProgress(const CvGame* self, int& result);static int ReplaceCvGame_GetCachedWorldReligionTechProgress(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetCachedWorldReligionTechProgress>(host, &BeforeCvGame_GetCachedWorldReligionTechProgress);CivRegisterAfter<CivHooks::CvGame_GetCachedWorldReligionTechProgress>(host, &AfterCvGame_GetCachedWorldReligionTechProgress);CivRegisterReplace<CivHooks::CvGame_GetCachedWorldReligionTechProgress>(host, &ReplaceCvGame_GetCachedWorldReligionTechProgress);

Code

6855/// Returns the cached World Average Tech Progress towards the Religion Victory Competition6856int CvGame::GetCachedWorldReligionTechProgress() const6857{6858	return m_iCachedWorldReligionTechProgress;6859}