Bazaar developer reference

CvPlayer::GetSecondReligionPantheonCount() const

Defined in
CvPlayer.cpp, line 15798
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetSecondReligionPantheonCount

Hooks

static bool BeforeCvPlayer_GetSecondReligionPantheonCount(const CvPlayer* self, int& result);static void AfterCvPlayer_GetSecondReligionPantheonCount(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetSecondReligionPantheonCount(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetSecondReligionPantheonCount>(host, &BeforeCvPlayer_GetSecondReligionPantheonCount);CivRegisterAfter<CivHooks::CvPlayer_GetSecondReligionPantheonCount>(host, &AfterCvPlayer_GetSecondReligionPantheonCount);CivRegisterReplace<CivHooks::CvPlayer_GetSecondReligionPantheonCount>(host, &ReplaceCvPlayer_GetSecondReligionPantheonCount);

Code

15798int CvPlayer::GetSecondReligionPantheonCount() const15799{15800	return m_iSecondReligionPantheonCount;15801}

Called by