Bazaar developer reference

CvQuestInfo::getBiasNeutral() const

Defined in
CvQuestInfo.cpp, line 94
Class
CvQuestInfo
Hook name
CivHooks::CvQuestInfo_getBiasNeutral

Hooks

static bool BeforeCvQuestInfo_getBiasNeutral(const CvQuestInfo* self, int& result);static void AfterCvQuestInfo_getBiasNeutral(const CvQuestInfo* self, int& result);static int ReplaceCvQuestInfo_getBiasNeutral(int (*original)(const CvQuestInfo*), const CvQuestInfo* self);CivRegisterBefore<CivHooks::CvQuestInfo_getBiasNeutral>(host, &BeforeCvQuestInfo_getBiasNeutral);CivRegisterAfter<CivHooks::CvQuestInfo_getBiasNeutral>(host, &AfterCvQuestInfo_getBiasNeutral);CivRegisterReplace<CivHooks::CvQuestInfo_getBiasNeutral>(host, &ReplaceCvQuestInfo_getBiasNeutral);

Code

94int CvQuestInfo::getBiasNeutral() const95{96	return (m_iBiasNeutral <= 0 ? 100 : m_iBiasNeutral);97}

Called by