Bazaar developer reference

CvPlayer::SetFaithPurchaseType(FaithPurchaseTypes)

Defined in
CvPlayer.cpp, line 27672
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetFaithPurchaseType

Hooks

static bool BeforeCvPlayer_SetFaithPurchaseType(CvPlayer* self, FaithPurchaseTypes eType);static void AfterCvPlayer_SetFaithPurchaseType(CvPlayer* self, FaithPurchaseTypes eType);static void ReplaceCvPlayer_SetFaithPurchaseType(void (*original)(CvPlayer*, FaithPurchaseTypes), CvPlayer* self, FaithPurchaseTypes eType);CivRegisterBefore<CivHooks::CvPlayer_SetFaithPurchaseType>(host, &BeforeCvPlayer_SetFaithPurchaseType);CivRegisterAfter<CivHooks::CvPlayer_SetFaithPurchaseType>(host, &AfterCvPlayer_SetFaithPurchaseType);CivRegisterReplace<CivHooks::CvPlayer_SetFaithPurchaseType>(host, &ReplaceCvPlayer_SetFaithPurchaseType);

Code

27672void CvPlayer::SetFaithPurchaseType(FaithPurchaseTypes eType)27673{27674	m_eFaithPurchaseType = eType;27675}

Called by