CvGlobals::GetGameProjects() const
- Defined in
- CvGlobals.cpp, line 3331
- Class
- CvGlobals
- Hook name
CivHooks::CvGlobals_GetGameProjects
Hooks
static bool BeforeCvGlobals_GetGameProjects(const CvGlobals* self, CvProjectXMLEntries*& result);static void AfterCvGlobals_GetGameProjects(const CvGlobals* self, CvProjectXMLEntries*& result);static CvProjectXMLEntries* ReplaceCvGlobals_GetGameProjects(CvProjectXMLEntries* (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetGameProjects>(host, &BeforeCvGlobals_GetGameProjects);CivRegisterAfter<CivHooks::CvGlobals_GetGameProjects>(host, &AfterCvGlobals_GetGameProjects);CivRegisterReplace<CivHooks::CvGlobals_GetGameProjects>(host, &ReplaceCvGlobals_GetGameProjects);
Code
3331CvProjectXMLEntries* CvGlobals::GetGameProjects() const3332{3333 return m_pProjects;3334}
Called by
- CvAdvisorRecommender::UpdateCityRecommendations(CvCity *)
- CvCityStrategyAI::ChooseProduction(bool, BuildingTypes, UnitTypes)
- CvCityStrategyAI::LogCityProduction(CvCityBuildable, bool)
- CvCityStrategyAI::LogPossibleBuilds()
- CvProjectProductionAI::AddFlavorWeights(FlavorTypes, int)
- CvProjectProductionAI::LogPossibleBuilds()
- CvProjectProductionAI::Read(FDataStream &)
- CvProjectProductionAI::RecommendProject()
- CvProjectProductionAI::Reset()
- CvProjectProductionAI::Write(FDataStream &) const