Bazaar developer reference

CvQuestInfo::getBiasReligious() const

Defined in
CvQuestInfo.cpp, line 129
Class
CvQuestInfo
Hook name
CivHooks::CvQuestInfo_getBiasReligious

Hooks

static bool BeforeCvQuestInfo_getBiasReligious(const CvQuestInfo* self, int& result);static void AfterCvQuestInfo_getBiasReligious(const CvQuestInfo* self, int& result);static int ReplaceCvQuestInfo_getBiasReligious(int (*original)(const CvQuestInfo*), const CvQuestInfo* self);CivRegisterBefore<CivHooks::CvQuestInfo_getBiasReligious>(host, &BeforeCvQuestInfo_getBiasReligious);CivRegisterAfter<CivHooks::CvQuestInfo_getBiasReligious>(host, &AfterCvQuestInfo_getBiasReligious);CivRegisterReplace<CivHooks::CvQuestInfo_getBiasReligious>(host, &ReplaceCvQuestInfo_getBiasReligious);

Code

129int CvQuestInfo::getBiasReligious() const130{131	return (m_iBiasReligious <= 0 ? 100 : m_iBiasReligious);132}

Called by