CvGlobals::getNumBuildInfos()
- Defined in
- CvGlobals.cpp, line 3188
- Class
- CvGlobals
- Hook name
CivHooks::CvGlobals_getNumBuildInfos
Hooks
static bool BeforeCvGlobals_getNumBuildInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumBuildInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumBuildInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumBuildInfos>(host, &BeforeCvGlobals_getNumBuildInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumBuildInfos>(host, &AfterCvGlobals_getNumBuildInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumBuildInfos>(host, &ReplaceCvGlobals_getNumBuildInfos);
Code
3188int CvGlobals::getNumBuildInfos()3189{3190 return (int)m_paBuildInfo.size();3191}
Calls
std::vector::size
Called by
45 functions in 15 files
- CvAdvisorCounsel::BuildCounselList(PlayerTypes)
- CvBuilderTaskingAI::AddChopDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddImprovingPlotsDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddImprovingResourcesDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddRemoveUselessRoadDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::AddRouteDirectives(CvUnit *, CvPlot *, int)
- CvBuilderTaskingAI::GetBuildTypeFromImprovement(ImprovementTypes)
- CvBuilderTaskingAI::GetFalloutRemove()
- CvBuilderTaskingAI::GetRepairBuild()
- CvBuilderTaskingAI::Init(CvPlayer *)
- CvBuilderTaskingAI::UpdateRoutePlots()
- CityStrategyAIHelpers::IsTestCityStrategy_NeedTileImprovers(AICityStrategyTypes, CvCity *)
- CityStrategyAIHelpers::IsTestCityStrategy_WantTileImprovers(AICityStrategyTypes, CvCity *)
- CvDllGameContext::GetNumBuildInfos()
- CvDllDatabaseUtility::SetGlobalActionInfo()
- CvDllDatabaseUtility::ValidatePrefetchProcess()
- EconomicAIHelpers::IsTestStrategy_NeedImprovement(CvPlayer *, YieldTypes)
- CvGame::DoGameStarted()
- CvHomelandAI::ExecuteGeneralMoves()
- CvHomelandAI::FindHomelandTargets()
- CvPlayer::canReceiveGoody(CvPlot *, GoodyTypes, CvUnit *) const
- CvPlayer::doAdvancedStartAction(AdvancedStartActionTypes, int, int, int, bool)
- CvPlayer::getAdvancedStartImprovementCost(ImprovementTypes, bool, CvPlot *)
- CvPlayer::getAdvancedStartRouteCost(RouteTypes, bool, CvPlot *)
- CvPlayer::getBestRoute(CvPlot *) const
- CvPlot::SilentlyResetAllBuildProgress()
- CvPlot::changeBuildProgress(BuildTypes, int, PlayerTypes)
- CvPlot::getBuildTime(BuildTypes, PlayerTypes) const
- CvPlot::getImprovementTypeNeededToImproveResource(PlayerTypes, bool)
- CvPlot::read(FDataStream &)
- CvPlot::updateLayout(bool)
- CvPlot::write(FDataStream &) const
- CvTeam::DoUpdateBestRoute()
- CvTeam::Read(FDataStream &)
- CvTeam::Write(FDataStream &) const
- CvTeam::processTech(TechTypes, int)
- CvTeam::reset(TeamTypes, bool)
- CvPlayerTechs::Reset()
- CvPlayerTechs::SetLocalePriorities()
- CvUnit::GetBestBuildRoute(CvPlot *, BuildTypes *) const
- CvUnit::canBuildRoute() const
- CvUnit::getBuildType() const
- CvUnit::pillage()
- CvUnitMission::PushMission(UnitHandle, MissionTypes, int, int, int, bool, bool, MissionAITypes, CvPlot *, CvUnit *)
- CvLuaPlayer::lGetUnimprovedAvailableLuxuryResource(lua_State *)