Bazaar developer reference

CvGame::GetTotalReligionTechCost() const

Defined in
CvGame.cpp, line 6830
Class
CvGame
Hook name
CivHooks::CvGame_GetTotalReligionTechCost

Hooks

static bool BeforeCvGame_GetTotalReligionTechCost(const CvGame* self, int& result);static void AfterCvGame_GetTotalReligionTechCost(const CvGame* self, int& result);static int ReplaceCvGame_GetTotalReligionTechCost(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetTotalReligionTechCost>(host, &BeforeCvGame_GetTotalReligionTechCost);CivRegisterAfter<CivHooks::CvGame_GetTotalReligionTechCost>(host, &AfterCvGame_GetTotalReligionTechCost);CivRegisterReplace<CivHooks::CvGame_GetTotalReligionTechCost>(host, &ReplaceCvGame_GetTotalReligionTechCost);

Code

6829/// Returns the cached Total Research cost for the Religion Victory Competition6830int CvGame::GetTotalReligionTechCost() const6831{6832	return m_iTotalReligionTechCost;6833}