CvPlot::IsRoutePillaged() const
- Defined in
- CvPlot.cpp, line 7305
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_IsRoutePillaged
Hooks
static bool BeforeCvPlot_IsRoutePillaged(const CvPlot* self, bool& result);static void AfterCvPlot_IsRoutePillaged(const CvPlot* self, bool& result);static bool ReplaceCvPlot_IsRoutePillaged(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_IsRoutePillaged>(host, &BeforeCvPlot_IsRoutePillaged);CivRegisterAfter<CivHooks::CvPlot_IsRoutePillaged>(host, &AfterCvPlot_IsRoutePillaged);CivRegisterReplace<CivHooks::CvPlot_IsRoutePillaged>(host, &ReplaceCvPlot_IsRoutePillaged);
Code
7305bool CvPlot::IsRoutePillaged() const7306{7307 return m_bRoutePillaged;7308}
Called by
- RouteValid(CvAStarNode *, CvAStarNode *, int, const void *, CvAStar *)
- CvBuilderTaskingAI::AddRouteDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::ConnectCitiesForScenario(CvCity *, CvCity *, RouteTypes)
- CvBuilderTaskingAI::ConnectCitiesToCapital(CvCity *, CvCity *, RouteTypes)
- CvBuilderTaskingAI::GetBuildTimeWeight(CvUnit *, CvPlot *, BuildTypes, bool, int)
- CvDllPlot::IsRoutePillaged() const
- CvPlayer::getBuildCost(const CvPlot *, BuildTypes) const
- CvPlot::SetRoutePillaged(bool, bool)
- CvPlot::calculateYield(YieldTypes, bool)
- CvPlot::canBuild(BuildTypes, PlayerTypes, bool, bool) const
- CvPlot::changeBuildProgress(BuildTypes, int, PlayerTypes)
- CvPlot::getYieldWithBuild(BuildTypes, YieldTypes, bool, PlayerTypes) const
- CvPlot::setRouteType(RouteTypes)
- CvPlot::updateLayout(bool)
- CvTacticalAI::FindTacticalTargets()
- CvUnit::canPillage(const CvPlot *) const
- CvLuaPlot::lIsRoutePillaged(lua_State *)