Bazaar developer reference

CvUnit::GetLengthMissionQueue() const

Defined in
CvUnit.cpp, line 23549
Class
CvUnit
Hook name
CivHooks::CvUnit_GetLengthMissionQueue

Hooks

static bool BeforeCvUnit_GetLengthMissionQueue(const CvUnit* self, int& result);static void AfterCvUnit_GetLengthMissionQueue(const CvUnit* self, int& result);static int ReplaceCvUnit_GetLengthMissionQueue(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetLengthMissionQueue>(host, &BeforeCvUnit_GetLengthMissionQueue);CivRegisterAfter<CivHooks::CvUnit_GetLengthMissionQueue>(host, &AfterCvUnit_GetLengthMissionQueue);CivRegisterReplace<CivHooks::CvUnit_GetLengthMissionQueue>(host, &ReplaceCvUnit_GetLengthMissionQueue);

Code

23548/// How may missions are in the queue23549int CvUnit::GetLengthMissionQueue()	const23550{23551	VALIDATE_OBJECT23552	return m_missionQueue.getLength();23553}

Calls

Called by