Bazaar developer reference

CvUnit::GetGreatGeneralCount() const

Defined in
CvUnit.cpp, line 18936
Class
CvUnit
Hook name
CivHooks::CvUnit_GetGreatGeneralCount

Hooks

static bool BeforeCvUnit_GetGreatGeneralCount(const CvUnit* self, int& result);static void AfterCvUnit_GetGreatGeneralCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetGreatGeneralCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetGreatGeneralCount>(host, &BeforeCvUnit_GetGreatGeneralCount);CivRegisterAfter<CivHooks::CvUnit_GetGreatGeneralCount>(host, &AfterCvUnit_GetGreatGeneralCount);CivRegisterReplace<CivHooks::CvUnit_GetGreatGeneralCount>(host, &ReplaceCvUnit_GetGreatGeneralCount);

Code

18936int CvUnit::GetGreatGeneralCount() const18937{18938	VALIDATE_OBJECT18939	return m_iGreatGeneralCount;18940}

Calls

Called by