Bazaar developer reference

CvArea::setTotalFoundValue(int)

Defined in
CvArea.cpp, line 483
Class
CvArea
Hook name
CivHooks::CvArea_setTotalFoundValue

Hooks

static bool BeforeCvArea_setTotalFoundValue(CvArea* self, int iNewValue);static void AfterCvArea_setTotalFoundValue(CvArea* self, int iNewValue);static void ReplaceCvArea_setTotalFoundValue(void (*original)(CvArea*, int), CvArea* self, int iNewValue);CivRegisterBefore<CivHooks::CvArea_setTotalFoundValue>(host, &BeforeCvArea_setTotalFoundValue);CivRegisterAfter<CivHooks::CvArea_setTotalFoundValue>(host, &AfterCvArea_setTotalFoundValue);CivRegisterReplace<CivHooks::CvArea_setTotalFoundValue>(host, &ReplaceCvArea_setTotalFoundValue);

Code

483void CvArea::setTotalFoundValue(int iNewValue)484{485	m_iTotalFoundValue = iNewValue;486	CvAssert(m_iTotalFoundValue >= 0);487}

Called by