CvGlobals::getIgnoreUnitsPathFinder()
- Defined in
- CvGlobals.cpp, line 2383
- Class
- CvGlobals
- Hook name
CivHooks::CvGlobals_getIgnoreUnitsPathFinder
Hooks
static bool BeforeCvGlobals_getIgnoreUnitsPathFinder(CvGlobals* self, CvIgnoreUnitsPathFinder*& result);static void AfterCvGlobals_getIgnoreUnitsPathFinder(CvGlobals* self, CvIgnoreUnitsPathFinder*& result);static CvIgnoreUnitsPathFinder& ReplaceCvGlobals_getIgnoreUnitsPathFinder(CvIgnoreUnitsPathFinder& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getIgnoreUnitsPathFinder>(host, &BeforeCvGlobals_getIgnoreUnitsPathFinder);CivRegisterAfter<CivHooks::CvGlobals_getIgnoreUnitsPathFinder>(host, &AfterCvGlobals_getIgnoreUnitsPathFinder);CivRegisterReplace<CivHooks::CvGlobals_getIgnoreUnitsPathFinder>(host, &ReplaceCvGlobals_getIgnoreUnitsPathFinder);
Code
2383CvIgnoreUnitsPathFinder& CvGlobals::getIgnoreUnitsPathFinder()2384{2385 return *m_ignoreUnitsPathFinder;2386}
Called by
- GetClosestUnit(CvOperationSearchUnitList &, CvPlot *, CvPlot *, bool)
- CvIgnoreUnitsPathFinder::GetLastOwnedPlot(CvPlot *, CvPlot *, PlayerTypes) const
- CvIgnoreUnitsPathFinder::GetLastPlot()
- CvIgnoreUnitsPathFinder::GetPathEndTurnPlot() const
- CvIgnoreUnitsPathFinder::GetPathFirstPlot() const
- TurnsToReachTarget(UnitHandle, CvPlot *, bool, bool, bool)
- CvDangerPlots::AssignUnitDangerValue(CvUnit *, CvPlot *)
- CvHomelandAI::ExecuteExplorerMoves()
- CvMap::setup()
- CvPlayer::setTurnActive(bool, bool)
- CvPlayerAI::AI_unitUpdate()
- CvUnit::CanSwapWithUnitHere(CvPlot &) const