Bazaar developer reference

CvCombatInfo::setPlot(CvPlot *)

Defined in
CvStructs.cpp, line 280
Class
CvCombatInfo
Hook name
CivHooks::CvCombatInfo_setPlot

Hooks

static bool BeforeCvCombatInfo_setPlot(CvCombatInfo* self, CvPlot* plot);static void AfterCvCombatInfo_setPlot(CvCombatInfo* self, CvPlot* plot);static void ReplaceCvCombatInfo_setPlot(void (*original)(CvCombatInfo*, CvPlot*), CvCombatInfo* self, CvPlot* plot);CivRegisterBefore<CivHooks::CvCombatInfo_setPlot>(host, &BeforeCvCombatInfo_setPlot);CivRegisterAfter<CivHooks::CvCombatInfo_setPlot>(host, &AfterCvCombatInfo_setPlot);CivRegisterReplace<CivHooks::CvCombatInfo_setPlot>(host, &ReplaceCvCombatInfo_setPlot);

Code

280void CvCombatInfo::setPlot(CvPlot* plot)281{282	m_pTargetPlot = plot;283}

Called by