Bazaar developer reference

CvUnit::GetReconCount() const

Defined in
CvUnit.cpp, line 16530
Class
CvUnit
Hook name
CivHooks::CvUnit_GetReconCount

Hooks

static bool BeforeCvUnit_GetReconCount(const CvUnit* self, int& result);static void AfterCvUnit_GetReconCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetReconCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetReconCount>(host, &BeforeCvUnit_GetReconCount);CivRegisterAfter<CivHooks::CvUnit_GetReconCount>(host, &AfterCvUnit_GetReconCount);CivRegisterReplace<CivHooks::CvUnit_GetReconCount>(host, &ReplaceCvUnit_GetReconCount);

Code

16530int CvUnit::GetReconCount() const16531{16532	return m_iReconCount;16533}

Calls

Called by