CvPlot::IsImprovementPillaged() const
- Defined in
- CvPlot.cpp, line 7028
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_IsImprovementPillaged
Hooks
static bool BeforeCvPlot_IsImprovementPillaged(const CvPlot* self, bool& result);static void AfterCvPlot_IsImprovementPillaged(const CvPlot* self, bool& result);static bool ReplaceCvPlot_IsImprovementPillaged(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_IsImprovementPillaged>(host, &BeforeCvPlot_IsImprovementPillaged);CivRegisterAfter<CivHooks::CvPlot_IsImprovementPillaged>(host, &AfterCvPlot_IsImprovementPillaged);CivRegisterReplace<CivHooks::CvPlot_IsImprovementPillaged>(host, &ReplaceCvPlot_IsImprovementPillaged);
Code
7028bool CvPlot::IsImprovementPillaged() const7029{7030 return m_bImprovementPillaged;7031}
Called by
32 functions in 11 files
- CvAIOperationNukeAttack::FindBestTarget()
- CvBuilderTaskingAI::AddImprovingPlotsDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddImprovingResourcesDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::GetBuildTimeWeight(CvUnit *, CvPlot *, BuildTypes, bool, int)
- CvBuilderTaskingAI::LogDirective(BuilderDirective, CvUnit *, int, bool)
- CvCity::GetNumResourceLocal(ResourceTypes, bool)
- CvCity::countNumImprovedPlots(ImprovementTypes, bool) const
- CvCity::processBuilding(BuildingTypes, int, bool, bool, bool)
- CityStrategyAIHelpers::IsTestCityStrategy_NeedTileImprovers(AICityStrategyTypes, CvCity *)
- CvDllPlot::IsImprovementPillaged() const
- CvEconomicAI::DisbandExtraWorkers()
- CvEconomicAI::GetImprovedToImprovablePlotsRatio()
- CvHomelandAI::ExecuteWorkerMove(CvUnit *, bool)
- CvPlot::SetImprovementPillaged(bool, bool)
- CvPlot::calculateAdditionalUnitsFromImprovement()
- CvPlot::calculateYield(YieldTypes, bool)
- CvPlot::canBuild(BuildTypes, PlayerTypes, bool, bool) const
- CvPlot::changeBuildProgress(BuildTypes, int, PlayerTypes)
- CvPlot::defenseModifier(TeamTypes, bool, bool) const
- CvPlot::getYieldWithBuild(BuildTypes, YieldTypes, bool, PlayerTypes) const
- CvPlot::setImprovementType(ImprovementTypes, PlayerTypes)
- CvPlot::setOwner(PlayerTypes, int, bool, bool)
- CvPlot::updateLayout(bool)
- CvTacticalAI::FindTacticalTargets()
- CvUnit::IsNearEnemyCitadel(int &)
- CvUnit::canLoad(const CvPlot &) const
- CvUnit::canPillage(const CvPlot *) const
- CvUnit::canRebaseAt(const CvPlot *, int, int) const
- CvUnit::getAirliftFromPlot(const CvPlot *) const
- CvUnit::getAirliftToPlot(const CvPlot *, bool) const
- CvUnit::pillage()
- CvLuaPlot::lIsImprovementPillaged(lua_State *)