CvCity::getThreatValue()
- Defined in
- CvCity.cpp, line 12813
- Class
- CvCity
- Hook name
CivHooks::CvCity_getThreatValue
Hooks
static bool BeforeCvCity_getThreatValue(CvCity* self, int& result);static void AfterCvCity_getThreatValue(CvCity* self, int& result);static int ReplaceCvCity_getThreatValue(int (*original)(CvCity*), CvCity* self);CivRegisterBefore<CivHooks::CvCity_getThreatValue>(host, &BeforeCvCity_getThreatValue);CivRegisterAfter<CivHooks::CvCity_getThreatValue>(host, &AfterCvCity_getThreatValue);CivRegisterReplace<CivHooks::CvCity_getThreatValue>(host, &ReplaceCvCity_getThreatValue);
Code
12812/// Getting the danger value threat amount12813int CvCity::getThreatValue(void)12814{12815 VALIDATE_OBJECT12816 return m_iThreatValue;12817}
Calls
FAutoVariable::operator const int &