CvPlot::getWorkingCity() const
- Defined in
- CvPlot.cpp, line 7645
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_getWorkingCity
Hooks
static bool BeforeCvPlot_getWorkingCity(const CvPlot* self, CvCity*& result);static void AfterCvPlot_getWorkingCity(const CvPlot* self, CvCity*& result);static CvCity* ReplaceCvPlot_getWorkingCity(CvCity* (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_getWorkingCity>(host, &BeforeCvPlot_getWorkingCity);CivRegisterAfter<CivHooks::CvPlot_getWorkingCity>(host, &AfterCvPlot_getWorkingCity);CivRegisterReplace<CivHooks::CvPlot_getWorkingCity>(host, &ReplaceCvPlot_getWorkingCity);
Code
7645CvCity* CvPlot::getWorkingCity() const7646{7647 return getCity(m_workingCity);7648}
Calls
- getCity(IDInfo)
IDInfo::IDInfo
Called by
47 functions in 13 files
- CvAdvisorCounsel::BuildCounselList(PlayerTypes)
- CvBuilderTaskingAI::GetWorkingCity(CvPlot *)
- CvBuilderTaskingAI::ScorePlot()
- CvCity::CountFeature(FeatureTypes) const
- CvCity::CountImprovement(ImprovementTypes) const
- CvCity::CountPlotType(PlotTypes) const
- CvCity::CountResource(ResourceTypes) const
- CvCity::CountTerrain(TerrainTypes) const
- CvCity::CountWorkedFeature(FeatureTypes) const
- CvCity::CountWorkedImprovement(ImprovementTypes) const
- CvCity::CountWorkedPlotType(PlotTypes) const
- CvCity::CountWorkedResource(ResourceTypes) const
- CvCity::CountWorkedTerrain(TerrainTypes) const
- CvCity::GetNumResourceLocal(ResourceTypes, bool)
- CvCity::HasWorkedFeature(FeatureTypes) const
- CvCity::HasWorkedImprovement(ImprovementTypes) const
- CvCity::HasWorkedPlotType(PlotTypes) const
- CvCity::HasWorkedResource(ResourceTypes) const
- CvCity::HasWorkedTerrain(TerrainTypes) const
- CvCity::countNumForestPlots() const
- CvCity::countNumImprovedPlots(ImprovementTypes, bool) const
- CvCity::countNumRiverPlots() const
- CvCity::countNumWaterPlots() const
- CvCity::doTurn()
- CvCityCitizens::GetBestCityPlotWithValue(int &, bool, bool)
- CvCityCitizens::IsCanWork(CvPlot *) const
- CvCityStrategyAI::UpdateBestYields()
- CvCityCulture::GetCultureFromNaturalWonders() const
- CvCityCulture::GetYieldFromImprovements(YieldTypes) const
- CvPlayerCulture::GetArchaeologyChoice(CvPlot *)
- CvDllPlot::GetWorkingCity() const
- CvEconomicAI::LogCityMonitor()
- CvHomelandAI::FindHomelandTargets()
- CvPlot::calculateImprovementYieldChange(ImprovementTypes, YieldTypes, PlayerTypes, bool, RouteTypes) const
- CvPlot::calculateNatureYield(YieldTypes, TeamTypes, bool) const
- CvPlot::calculateYield(YieldTypes, bool)
- CvPlot::getFeatureProduction(BuildTypes, PlayerTypes, CvCity **) const
- CvPlot::getNumResourceForPlayer(PlayerTypes) const
- CvPlot::getYieldWithBuild(BuildTypes, YieldTypes, bool, PlayerTypes) const
- CvPlot::isBeingWorked() const
- CvPlot::updateWorkingCity()
- CvPlot::updateYield()
- CvUnit::GetGenericMaxStrengthModifier(const CvUnit *, const CvPlot *, bool) const
- CvUnit::GetMaxRangedCombatStrength(const CvUnit *, const CvCity *, bool, bool) const
- CvLuaPlayer::lGetFoundedReligionEnemyCityCombatMod(lua_State *)
- CvLuaPlayer::lGetFoundedReligionFriendlyCityCombatMod(lua_State *)
- CvLuaPlot::lGetWorkingCity(lua_State *)