Hooks
static bool BeforeCvCityReligions_GetMajorityReligionAfterSpread(CvCityReligions* self, ReligionTypes eReligion, int iConversionStrength, ReligionTypes& result);static void AfterCvCityReligions_GetMajorityReligionAfterSpread(CvCityReligions* self, ReligionTypes eReligion, int iConversionStrength, ReligionTypes& result);static ReligionTypes ReplaceCvCityReligions_GetMajorityReligionAfterSpread(ReligionTypes (*original)(CvCityReligions*, ReligionTypes, int), CvCityReligions* self, ReligionTypes eReligion, int iConversionStrength);CivRegisterBefore<CivHooks::CvCityReligions_GetMajorityReligionAfterSpread>(host, &BeforeCvCityReligions_GetMajorityReligionAfterSpread);CivRegisterAfter<CivHooks::CvCityReligions_GetMajorityReligionAfterSpread>(host, &AfterCvCityReligions_GetMajorityReligionAfterSpread);CivRegisterReplace<CivHooks::CvCityReligions_GetMajorityReligionAfterSpread>(host, &ReplaceCvCityReligions_GetMajorityReligionAfterSpread);