Bazaar developer reference

CvPlot::changeOwnershipDuration(int)

Defined in
CvPlot.cpp, line 4781
Class
CvPlot
Hook name
CivHooks::CvPlot_changeOwnershipDuration

Hooks

static bool BeforeCvPlot_changeOwnershipDuration(CvPlot* self, int iChange);static void AfterCvPlot_changeOwnershipDuration(CvPlot* self, int iChange);static void ReplaceCvPlot_changeOwnershipDuration(void (*original)(CvPlot*, int), CvPlot* self, int iChange);CivRegisterBefore<CivHooks::CvPlot_changeOwnershipDuration>(host, &BeforeCvPlot_changeOwnershipDuration);CivRegisterAfter<CivHooks::CvPlot_changeOwnershipDuration>(host, &AfterCvPlot_changeOwnershipDuration);CivRegisterReplace<CivHooks::CvPlot_changeOwnershipDuration>(host, &ReplaceCvPlot_changeOwnershipDuration);

Code

4781void CvPlot::changeOwnershipDuration(int iChange)4782{4783	setOwnershipDuration(getOwnershipDuration() + iChange);4784}

Calls

Called by