Bazaar developer reference

CvUnit::IsIgnoreGreatGeneralBenefit() const

Defined in
CvUnit.cpp, line 19042
Class
CvUnit
Hook name
CivHooks::CvUnit_IsIgnoreGreatGeneralBenefit

Hooks

static bool BeforeCvUnit_IsIgnoreGreatGeneralBenefit(const CvUnit* self, bool& result);static void AfterCvUnit_IsIgnoreGreatGeneralBenefit(const CvUnit* self, bool& result);static bool ReplaceCvUnit_IsIgnoreGreatGeneralBenefit(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_IsIgnoreGreatGeneralBenefit>(host, &BeforeCvUnit_IsIgnoreGreatGeneralBenefit);CivRegisterAfter<CivHooks::CvUnit_IsIgnoreGreatGeneralBenefit>(host, &AfterCvUnit_IsIgnoreGreatGeneralBenefit);CivRegisterReplace<CivHooks::CvUnit_IsIgnoreGreatGeneralBenefit>(host, &ReplaceCvUnit_IsIgnoreGreatGeneralBenefit);

Code

19042bool CvUnit::IsIgnoreGreatGeneralBenefit() const19043{19044	return m_iIgnoreGreatGeneralBenefit > 0;19045}

Called by