Bazaar developer reference

CvPlayer::GetFaithPurchaseType() const

Defined in
CvPlayer.cpp, line 27666
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetFaithPurchaseType

Hooks

static bool BeforeCvPlayer_GetFaithPurchaseType(const CvPlayer* self, FaithPurchaseTypes& result);static void AfterCvPlayer_GetFaithPurchaseType(const CvPlayer* self, FaithPurchaseTypes& result);static FaithPurchaseTypes ReplaceCvPlayer_GetFaithPurchaseType(FaithPurchaseTypes (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetFaithPurchaseType>(host, &BeforeCvPlayer_GetFaithPurchaseType);CivRegisterAfter<CivHooks::CvPlayer_GetFaithPurchaseType>(host, &AfterCvPlayer_GetFaithPurchaseType);CivRegisterReplace<CivHooks::CvPlayer_GetFaithPurchaseType>(host, &ReplaceCvPlayer_GetFaithPurchaseType);

Code

27666FaithPurchaseTypes CvPlayer::GetFaithPurchaseType() const27667{27668	return m_eFaithPurchaseType;27669}

Called by