CvCombatInfo::getPlot() const
- Defined in
- CvStructs.cpp, line 276
- Class
- CvCombatInfo
- Hook name
CivHooks::CvCombatInfo_getPlot
Hooks
static bool BeforeCvCombatInfo_getPlot(const CvCombatInfo* self, CvPlot*& result);static void AfterCvCombatInfo_getPlot(const CvCombatInfo* self, CvPlot*& result);static CvPlot* ReplaceCvCombatInfo_getPlot(CvPlot* (*original)(const CvCombatInfo*), const CvCombatInfo* self);CivRegisterBefore<CivHooks::CvCombatInfo_getPlot>(host, &BeforeCvCombatInfo_getPlot);CivRegisterAfter<CivHooks::CvCombatInfo_getPlot>(host, &AfterCvCombatInfo_getPlot);CivRegisterReplace<CivHooks::CvCombatInfo_getPlot>(host, &ReplaceCvCombatInfo_getPlot);
Code
276CvPlot* CvCombatInfo::getPlot() const277{278 return m_pTargetPlot;279}
Called by
- CvDllCombatInfo::GetPlot() const
- CvUnitCombat::ResolveAirSweep(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveAirUnitVsCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveCityMeleeCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveMeleeCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveNuclearCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveRangedCityVsUnitCombat(const CvCombatInfo &, uint)
- CvUnitCombat::ResolveRangedUnitVsCombat(const CvCombatInfo &, uint)