Bazaar developer reference

CvUnit::GetHoveringUnitCount() const

Defined in
CvUnit.cpp, line 14337
Class
CvUnit
Hook name
CivHooks::CvUnit_GetHoveringUnitCount

Hooks

static bool BeforeCvUnit_GetHoveringUnitCount(const CvUnit* self, int& result);static void AfterCvUnit_GetHoveringUnitCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetHoveringUnitCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetHoveringUnitCount>(host, &BeforeCvUnit_GetHoveringUnitCount);CivRegisterAfter<CivHooks::CvUnit_GetHoveringUnitCount>(host, &AfterCvUnit_GetHoveringUnitCount);CivRegisterReplace<CivHooks::CvUnit_GetHoveringUnitCount>(host, &ReplaceCvUnit_GetHoveringUnitCount);

Code

14337int CvUnit::GetHoveringUnitCount() const14338{14339	VALIDATE_OBJECT14340	return m_iHoveringUnitCount;14341}

Calls

Called by