Bazaar developer reference

CvCity::IsIndustrialRouteToCapital() const

Defined in
CvCity.cpp, line 1987
Class
CvCity
Hook name
CivHooks::CvCity_IsIndustrialRouteToCapital

Hooks

static bool BeforeCvCity_IsIndustrialRouteToCapital(const CvCity* self, bool& result);static void AfterCvCity_IsIndustrialRouteToCapital(const CvCity* self, bool& result);static bool ReplaceCvCity_IsIndustrialRouteToCapital(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_IsIndustrialRouteToCapital>(host, &BeforeCvCity_IsIndustrialRouteToCapital);CivRegisterAfter<CivHooks::CvCity_IsIndustrialRouteToCapital>(host, &AfterCvCity_IsIndustrialRouteToCapital);CivRegisterReplace<CivHooks::CvCity_IsIndustrialRouteToCapital>(host, &ReplaceCvCity_IsIndustrialRouteToCapital);

Code

1986/// Connected to capital with industrial route? (Railroads)1987bool CvCity::IsIndustrialRouteToCapital() const1988{1989	return m_bIndustrialRouteToCapital;1990}

Calls

Called by