Bazaar developer reference

CvPlot::changeReconCount(int)

Defined in
CvPlot.cpp, line 7777
Class
CvPlot
Hook name
CivHooks::CvPlot_changeReconCount

Hooks

static bool BeforeCvPlot_changeReconCount(CvPlot* self, int iChange);static void AfterCvPlot_changeReconCount(CvPlot* self, int iChange);static void ReplaceCvPlot_changeReconCount(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeReconCount>(host, &BeforeCvPlot_changeReconCount);CivRegisterAfter<CivHooks::CvPlot_changeReconCount>(host, &AfterCvPlot_changeReconCount);CivRegisterReplace<CivHooks::CvPlot_changeReconCount>(host, &ReplaceCvPlot_changeReconCount);

Code

7777void CvPlot::changeReconCount(int iChange)7778{7779	m_iReconCount = (m_iReconCount + iChange);7780	CvAssert(getReconCount() >= 0);7781}

Called by