Bazaar developer reference

CvRouteInfo::IsIndustrial() const

Defined in
CvInfos.cpp, line 4303
Class
CvRouteInfo
Hook name
CivHooks::CvRouteInfo_IsIndustrial

Hooks

static bool BeforeCvRouteInfo_IsIndustrial(const CvRouteInfo* self, bool& result);static void AfterCvRouteInfo_IsIndustrial(const CvRouteInfo* self, bool& result);static bool ReplaceCvRouteInfo_IsIndustrial(bool (*original)(const CvRouteInfo*), const CvRouteInfo* self);CivRegisterBefore<CivHooks::CvRouteInfo_IsIndustrial>(host, &BeforeCvRouteInfo_IsIndustrial);CivRegisterAfter<CivHooks::CvRouteInfo_IsIndustrial>(host, &AfterCvRouteInfo_IsIndustrial);CivRegisterReplace<CivHooks::CvRouteInfo_IsIndustrial>(host, &ReplaceCvRouteInfo_IsIndustrial);

Code

4303bool CvRouteInfo::IsIndustrial() const4304{4305	return m_bIndustrial;4306}

Called by