Bazaar developer reference

CvUnit::getMadeInterceptionCount() const

Defined in
CvUnit.cpp, line 19480
Class
CvUnit
Hook name
CivHooks::CvUnit_getMadeInterceptionCount

Hooks

static bool BeforeCvUnit_getMadeInterceptionCount(const CvUnit* self, int& result);static void AfterCvUnit_getMadeInterceptionCount(const CvUnit* self, int& result);static int ReplaceCvUnit_getMadeInterceptionCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getMadeInterceptionCount>(host, &BeforeCvUnit_getMadeInterceptionCount);CivRegisterAfter<CivHooks::CvUnit_getMadeInterceptionCount>(host, &AfterCvUnit_getMadeInterceptionCount);CivRegisterReplace<CivHooks::CvUnit_getMadeInterceptionCount>(host, &ReplaceCvUnit_getMadeInterceptionCount);

Code

19480int CvUnit::getMadeInterceptionCount() const19481{19482	return m_iMadeInterceptionCount;19483}

Calls

Called by