CvPlot::nextUnitNode(const IDInfo *) const
- Defined in
- CvPlot.cpp, line 10355
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_nextUnitNode
Hooks
static bool BeforeCvPlot_nextUnitNode(const CvPlot* self, const IDInfo* pNode, const IDInfo*& result);static void AfterCvPlot_nextUnitNode(const CvPlot* self, const IDInfo* pNode, const IDInfo*& result);static const IDInfo* ReplaceCvPlot_nextUnitNode(const IDInfo* (*original)(const CvPlot*, const IDInfo*), const CvPlot* self, const IDInfo* pNode);CivRegisterBefore<CivHooks::CvPlot_nextUnitNode>(host, &BeforeCvPlot_nextUnitNode);CivRegisterAfter<CivHooks::CvPlot_nextUnitNode>(host, &AfterCvPlot_nextUnitNode);CivRegisterReplace<CivHooks::CvPlot_nextUnitNode>(host, &ReplaceCvPlot_nextUnitNode);
Code
10355const IDInfo* CvPlot::nextUnitNode(const IDInfo* pNode) const10356{10357 return m_units.next(pNode);10358}
Calls
FFastSmallFixedList::next
Called by
- CvAIOperationNukeAttack::FindBestTarget()
- CvCity::CanPlaceUnitHere(UnitTypes)
- CvDllPlot::NextUnitNode(const IDInfo *) const
- CvMinorCivAI::DoIntrusion()
- CvPlot::countNumAirUnits(TeamTypes) const
- CvPlot::getBestDefender(PlayerTypes, PlayerTypes, const CvUnit *, bool, bool, bool, bool) const
- CvPlot::getBuildTurnsLeft(BuildTypes, PlayerTypes, int, int) const
- CvPlot::getBuildTurnsTotal(BuildTypes, PlayerTypes) const
- CvPlot::getNumFriendlyUnitsOfType(const CvUnit *, bool) const
- CvPlot::getSelectedUnit() const
- CvPlot::getUnitIndex(CvUnit *) const
- CvPlot::getUnitPower(PlayerTypes) const
- CvPlot::getUnits(IDInfoVector *) const
- CvPlot::isFriendlyCityOrPassableImprovement(PlayerTypes, bool, const CvUnit *) const
- CvPlot::plotCount(ConstPlotUnitFunc, int, int, PlayerTypes, TeamTypes, ConstPlotUnitFunc, int, int) const
- CvUnit::CanSwapWithUnitHere(CvPlot &) const
- CvUnit::GetScrapGold() const
- CvUnit::canBuild(const CvPlot *, BuildTypes, bool, bool) const
- CvUnit::canCargoAllMove() const
- CvUnit::canGiveExperience(const CvPlot *) const
- CvUnit::canLead(const CvPlot *, int) const
- CvUnit::canLoad(const CvPlot &) const
- CvUnit::canMoveInto(const CvPlot &, byte) const
- CvUnit::canRangeStrikeAt(int, int, bool, bool) const
- CvUnit::getUnitAICargo(UnitAITypes) const
- CvUnit::healRate(const CvPlot *) const
- CvUnit::kill(bool, PlayerTypes)