Bazaar developer reference

CvBuildingEntry::AllowsProductionTradeRoutes() const

Defined in
CvBuildingClasses.cpp, line 1571
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_AllowsProductionTradeRoutes

Hooks

static bool BeforeCvBuildingEntry_AllowsProductionTradeRoutes(const CvBuildingEntry* self, bool& result);static void AfterCvBuildingEntry_AllowsProductionTradeRoutes(const CvBuildingEntry* self, bool& result);static bool ReplaceCvBuildingEntry_AllowsProductionTradeRoutes(bool (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_AllowsProductionTradeRoutes>(host, &BeforeCvBuildingEntry_AllowsProductionTradeRoutes);CivRegisterAfter<CivHooks::CvBuildingEntry_AllowsProductionTradeRoutes>(host, &AfterCvBuildingEntry_AllowsProductionTradeRoutes);CivRegisterReplace<CivHooks::CvBuildingEntry_AllowsProductionTradeRoutes>(host, &ReplaceCvBuildingEntry_AllowsProductionTradeRoutes);

Code

1571bool CvBuildingEntry::AllowsProductionTradeRoutes() const1572{1573	return m_bAllowsProductionTradeRoutes;1574}

Called by