Bazaar developer reference

CvPlayer::SetNumFaithGreatPeople(int)

Defined in
CvPlayer.cpp, line 27623
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetNumFaithGreatPeople

Hooks

static bool BeforeCvPlayer_SetNumFaithGreatPeople(CvPlayer* self, int iValue);static void AfterCvPlayer_SetNumFaithGreatPeople(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetNumFaithGreatPeople(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetNumFaithGreatPeople>(host, &BeforeCvPlayer_SetNumFaithGreatPeople);CivRegisterAfter<CivHooks::CvPlayer_SetNumFaithGreatPeople>(host, &AfterCvPlayer_SetNumFaithGreatPeople);CivRegisterReplace<CivHooks::CvPlayer_SetNumFaithGreatPeople>(host, &ReplaceCvPlayer_SetNumFaithGreatPeople);

Code

27623void CvPlayer::SetNumFaithGreatPeople(int iValue)27624{27625	m_iNumFaithGreatPeople = iValue;27626}

Called by