CvPlot::getRouteType() const
- Defined in
- CvPlot.cpp, line 7180
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_getRouteType
Hooks
static bool BeforeCvPlot_getRouteType(const CvPlot* self, RouteTypes& result);static void AfterCvPlot_getRouteType(const CvPlot* self, RouteTypes& result);static RouteTypes ReplaceCvPlot_getRouteType(RouteTypes (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_getRouteType>(host, &BeforeCvPlot_getRouteType);CivRegisterAfter<CivHooks::CvPlot_getRouteType>(host, &AfterCvPlot_getRouteType);CivRegisterReplace<CivHooks::CvPlot_getRouteType>(host, &ReplaceCvPlot_getRouteType);
Code
7180RouteTypes CvPlot::getRouteType() const7181{7182 return (RouteTypes)m_eRouteType;7183}
Called by
35 functions in 12 files
- BuildRouteCost(CvAStarNode *, CvAStarNode *, int, const void *, CvAStar *)
- RouteValid(CvAStarNode *, CvAStarNode *, int, const void *, CvAStar *)
- TradeRouteLandPathCost(CvAStarNode *, CvAStarNode *, int, const void *, CvAStar *)
- TradeRouteLandValid(CvAStarNode *, CvAStarNode *, int, const void *, CvAStar *)
- CvBuilderTaskingAI::AddRemoveUselessRoadDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddRouteDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::ConnectCitiesForScenario(CvCity *, CvCity *, RouteTypes)
- CvBuilderTaskingAI::ConnectCitiesToCapital(CvCity *, CvCity *, RouteTypes)
- CvBuilderTaskingAI::IsImprovementBeneficial(CvPlot *, const CvBuildInfo &, YieldTypes, bool)
- CvBuilderTaskingAI::LogDirective(BuilderDirective, CvUnit *, int, bool)
- CvCity::GetBuyablePlotList(std::vector<int> &)
- CvDllPlot::GetRouteType() const
- CalculateDigSiteWeight(int, FFastVector<CvArchaeologyData, true, c_eCiv5GameplayDLL, 0> &, FFastVector<CvArchaeologyData, true, c_eCiv5GameplayDLL, 0> &)
- CvPlayer::doAdvancedStartAction(AdvancedStartActionTypes, int, int, int, bool)
- CvPlayer::getAdvancedStartRouteCost(RouteTypes, bool, CvPlot *)
- CvPlayer::getBestRoute(CvPlot *) const
- CvPlayer::getBuildCost(const CvPlot *, BuildTypes) const
- CvPlot::HasRoute(RouteTypes) const
- CvPlot::SetRoutePillaged(bool, bool)
- CvPlot::calculateImprovementYieldChange(ImprovementTypes, YieldTypes, PlayerTypes, bool, RouteTypes) const
- CvPlot::calculateYield(YieldTypes, bool)
- CvPlot::canBuild(BuildTypes, PlayerTypes, bool, bool) const
- CvPlot::getBuildTime(BuildTypes, PlayerTypes) const
- CvPlot::getRevealedRouteType(TeamTypes, bool) const
- CvPlot::getYieldWithBuild(BuildTypes, YieldTypes, bool, PlayerTypes) const
- CvPlot::setOwner(PlayerTypes, int, bool, bool)
- CvPlot::setPlotCity(CvCity *)
- CvPlot::setRevealed(TeamTypes, bool, CvUnit *, bool, TeamTypes)
- CvPlot::setRouteType(RouteTypes)
- CvTacticalAI::FindTacticalTargets()
- CvUnit::canEnterTerrain(const CvPlot &, byte) const
- CvUnit::canPillage(const CvPlot *) const
- CvUnitMovement::GetCostsForMove(const CvUnit *, const CvPlot *, const CvPlot *, int, int &, int &, int &)
- CvLuaPlayer::lIsAnyPlotImproved(lua_State *)
- CvLuaPlot::lGetRouteType(lua_State *)