Bazaar developer reference

CvPlayer::SetFaithPurchaseIndex(int)

Defined in
CvPlayer.cpp, line 27684
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetFaithPurchaseIndex

Hooks

static bool BeforeCvPlayer_SetFaithPurchaseIndex(CvPlayer* self, int iIndex);static void AfterCvPlayer_SetFaithPurchaseIndex(CvPlayer* self, int iIndex);static void ReplaceCvPlayer_SetFaithPurchaseIndex(void (*original)(CvPlayer*, int), CvPlayer* self, int iIndex);CivRegisterBefore<CivHooks::CvPlayer_SetFaithPurchaseIndex>(host, &BeforeCvPlayer_SetFaithPurchaseIndex);CivRegisterAfter<CivHooks::CvPlayer_SetFaithPurchaseIndex>(host, &AfterCvPlayer_SetFaithPurchaseIndex);CivRegisterReplace<CivHooks::CvPlayer_SetFaithPurchaseIndex>(host, &ReplaceCvPlayer_SetFaithPurchaseIndex);

Code

27684void CvPlayer::SetFaithPurchaseIndex(int iIndex)27685{27686	m_iFaithPurchaseIndex = iIndex;27687}

Called by