Bazaar developer reference

CvGame::GetIndustrialRoute() const

Defined in
CvGame.cpp, line 10264
Class
CvGame
Hook name
CivHooks::CvGame_GetIndustrialRoute

Hooks

static bool BeforeCvGame_GetIndustrialRoute(const CvGame* self, RouteTypes& result);static void AfterCvGame_GetIndustrialRoute(const CvGame* self, RouteTypes& result);static RouteTypes ReplaceCvGame_GetIndustrialRoute(RouteTypes (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetIndustrialRoute>(host, &BeforeCvGame_GetIndustrialRoute);CivRegisterAfter<CivHooks::CvGame_GetIndustrialRoute>(host, &AfterCvGame_GetIndustrialRoute);CivRegisterReplace<CivHooks::CvGame_GetIndustrialRoute>(host, &ReplaceCvGame_GetIndustrialRoute);

Code

10263/// What route type forms an industrial connection?10264RouteTypes CvGame::GetIndustrialRoute() const10265{10266	return m_eIndustrialRoute;10267}

Called by