Bazaar developer reference

CvQuestInfo::getBiasFriendly() const

Defined in
CvQuestInfo.cpp, line 89
Class
CvQuestInfo
Hook name
CivHooks::CvQuestInfo_getBiasFriendly

Hooks

static bool BeforeCvQuestInfo_getBiasFriendly(const CvQuestInfo* self, int& result);static void AfterCvQuestInfo_getBiasFriendly(const CvQuestInfo* self, int& result);static int ReplaceCvQuestInfo_getBiasFriendly(int (*original)(const CvQuestInfo*), const CvQuestInfo* self);CivRegisterBefore<CivHooks::CvQuestInfo_getBiasFriendly>(host, &BeforeCvQuestInfo_getBiasFriendly);CivRegisterAfter<CivHooks::CvQuestInfo_getBiasFriendly>(host, &AfterCvQuestInfo_getBiasFriendly);CivRegisterReplace<CivHooks::CvQuestInfo_getBiasFriendly>(host, &ReplaceCvQuestInfo_getBiasFriendly);

Code

89int CvQuestInfo::getBiasFriendly() const90{91	return (m_iBiasFriendly <= 0 ? 100 : m_iBiasFriendly);92}

Called by