Bazaar developer reference

CvUnit::LastMissionPlot()

Defined in
CvUnit.cpp, line 23478
Class
CvUnit
Hook name
CivHooks::CvUnit_LastMissionPlot

Hooks

static bool BeforeCvUnit_LastMissionPlot(CvUnit* self, CvPlot*& result);static void AfterCvUnit_LastMissionPlot(CvUnit* self, CvPlot*& result);static CvPlot* ReplaceCvUnit_LastMissionPlot(CvPlot* (*original)(CvUnit*), CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_LastMissionPlot>(host, &BeforeCvUnit_LastMissionPlot);CivRegisterAfter<CivHooks::CvUnit_LastMissionPlot>(host, &AfterCvUnit_LastMissionPlot);CivRegisterReplace<CivHooks::CvUnit_LastMissionPlot>(host, &ReplaceCvUnit_LastMissionPlot);

Code

23477/// Where does this mission end?23478CvPlot* CvUnit::LastMissionPlot()23479{23480	VALIDATE_OBJECT23481	return CvUnitMission::LastMissionPlot(this);23482}

Calls

Called by