Bazaar developer reference

CvArea::getTotalFoundValue() const

Defined in
CvArea.cpp, line 476
Class
CvArea
Hook name
CivHooks::CvArea_getTotalFoundValue

Hooks

static bool BeforeCvArea_getTotalFoundValue(const CvArea* self, int& result);static void AfterCvArea_getTotalFoundValue(const CvArea* self, int& result);static int ReplaceCvArea_getTotalFoundValue(int (*original)(const CvArea*), const CvArea* self);CivRegisterBefore<CivHooks::CvArea_getTotalFoundValue>(host, &BeforeCvArea_getTotalFoundValue);CivRegisterAfter<CivHooks::CvArea_getTotalFoundValue>(host, &AfterCvArea_getTotalFoundValue);CivRegisterReplace<CivHooks::CvArea_getTotalFoundValue>(host, &ReplaceCvArea_getTotalFoundValue);

Code

474//	Get the total 'found' value for the area.  This is the desirability of475//	an area for settlement.476int CvArea::getTotalFoundValue() const477{478	return m_iTotalFoundValue;479}

Called by