Bazaar developer reference

CvPlayer::GetFaithPurchaseIndex() const

Defined in
CvPlayer.cpp, line 27678
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetFaithPurchaseIndex

Hooks

static bool BeforeCvPlayer_GetFaithPurchaseIndex(const CvPlayer* self, int& result);static void AfterCvPlayer_GetFaithPurchaseIndex(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetFaithPurchaseIndex(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetFaithPurchaseIndex>(host, &BeforeCvPlayer_GetFaithPurchaseIndex);CivRegisterAfter<CivHooks::CvPlayer_GetFaithPurchaseIndex>(host, &AfterCvPlayer_GetFaithPurchaseIndex);CivRegisterReplace<CivHooks::CvPlayer_GetFaithPurchaseIndex>(host, &ReplaceCvPlayer_GetFaithPurchaseIndex);

Code

27678int CvPlayer::GetFaithPurchaseIndex() const27679{27680	return m_iFaithPurchaseIndex;27681}

Called by