Bazaar developer reference

CvUnit::getAmphibCount() const

Defined in
CvUnit.cpp, line 17670
Class
CvUnit
Hook name
CivHooks::CvUnit_getAmphibCount

Hooks

static bool BeforeCvUnit_getAmphibCount(const CvUnit* self, int& result);static void AfterCvUnit_getAmphibCount(const CvUnit* self, int& result);static int ReplaceCvUnit_getAmphibCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getAmphibCount>(host, &BeforeCvUnit_getAmphibCount);CivRegisterAfter<CivHooks::CvUnit_getAmphibCount>(host, &AfterCvUnit_getAmphibCount);CivRegisterReplace<CivHooks::CvUnit_getAmphibCount>(host, &ReplaceCvUnit_getAmphibCount);

Code

17670int CvUnit::getAmphibCount() const17671{17672	VALIDATE_OBJECT17673	return m_iAmphibCount;17674}

Calls

Called by