Bazaar developer reference

CvUnit::GetNumInterceptions() const

Defined in
CvUnit.cpp, line 19458
Class
CvUnit
Hook name
CivHooks::CvUnit_GetNumInterceptions

Hooks

static bool BeforeCvUnit_GetNumInterceptions(const CvUnit* self, int& result);static void AfterCvUnit_GetNumInterceptions(const CvUnit* self, int& result);static int ReplaceCvUnit_GetNumInterceptions(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetNumInterceptions>(host, &BeforeCvUnit_GetNumInterceptions);CivRegisterAfter<CivHooks::CvUnit_GetNumInterceptions>(host, &AfterCvUnit_GetNumInterceptions);CivRegisterReplace<CivHooks::CvUnit_GetNumInterceptions>(host, &ReplaceCvUnit_GetNumInterceptions);

Code

19458int CvUnit::GetNumInterceptions() const19459{19460	VALIDATE_OBJECT19461	return m_iNumInterceptions;19462}

Calls

Called by