Bazaar developer reference

CvGame::GetReligionTech() const

Defined in
CvGame.cpp, line 6897
Class
CvGame
Hook name
CivHooks::CvGame_GetReligionTech

Hooks

static bool BeforeCvGame_GetReligionTech(const CvGame* self, TechTypes& result);static void AfterCvGame_GetReligionTech(const CvGame* self, TechTypes& result);static TechTypes ReplaceCvGame_GetReligionTech(TechTypes (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetReligionTech>(host, &BeforeCvGame_GetReligionTech);CivRegisterAfter<CivHooks::CvGame_GetReligionTech>(host, &AfterCvGame_GetReligionTech);CivRegisterReplace<CivHooks::CvGame_GetReligionTech>(host, &ReplaceCvGame_GetReligionTech);

Code

6896/// What Tech unlocks the Religion Race?6897TechTypes CvGame::GetReligionTech() const6898{6899	return m_eReligionTech;6900}

Called by