Bazaar developer reference

CvPlayerReligions::SetFaithAtLastNotify(int)

Defined in
CvReligionClasses.cpp, line 3147
Class
CvPlayerReligions
Hook name
CivHooks::CvPlayerReligions_SetFaithAtLastNotify

Hooks

static bool BeforeCvPlayerReligions_SetFaithAtLastNotify(CvPlayerReligions* self, int iFaith);static void AfterCvPlayerReligions_SetFaithAtLastNotify(CvPlayerReligions* self, int iFaith);static void ReplaceCvPlayerReligions_SetFaithAtLastNotify(void (*original)(CvPlayerReligions*, int), CvPlayerReligions* self, int iFaith);CivRegisterBefore<CivHooks::CvPlayerReligions_SetFaithAtLastNotify>(host, &BeforeCvPlayerReligions_SetFaithAtLastNotify);CivRegisterAfter<CivHooks::CvPlayerReligions_SetFaithAtLastNotify>(host, &AfterCvPlayerReligions_SetFaithAtLastNotify);CivRegisterReplace<CivHooks::CvPlayerReligions_SetFaithAtLastNotify>(host, &ReplaceCvPlayerReligions_SetFaithAtLastNotify);

Code

3147void CvPlayerReligions::SetFaithAtLastNotify(int iFaith)3148{3149	m_iFaithAtLastNotify = iFaith;3150}

Called by