Bazaar developer reference

CvPlot::getOwnershipDuration() const

Defined in
CvPlot.cpp, line 4741
Class
CvPlot
Hook name
CivHooks::CvPlot_getOwnershipDuration

Hooks

static bool BeforeCvPlot_getOwnershipDuration(const CvPlot* self, int& result);static void AfterCvPlot_getOwnershipDuration(const CvPlot* self, int& result);static int ReplaceCvPlot_getOwnershipDuration(int (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_getOwnershipDuration>(host, &BeforeCvPlot_getOwnershipDuration);CivRegisterAfter<CivHooks::CvPlot_getOwnershipDuration>(host, &AfterCvPlot_getOwnershipDuration);CivRegisterReplace<CivHooks::CvPlot_getOwnershipDuration>(host, &ReplaceCvPlot_getOwnershipDuration);

Code

4741int CvPlot::getOwnershipDuration() const4742{4743	return m_iOwnershipDuration;4744}

Called by