Bazaar developer reference

CvPlot::ClearCityPurchaseInfo()

Defined in
CvPlot.cpp, line 5742
Class
CvPlot
Hook name
CivHooks::CvPlot_ClearCityPurchaseInfo

Hooks

static bool BeforeCvPlot_ClearCityPurchaseInfo(CvPlot* self);static void AfterCvPlot_ClearCityPurchaseInfo(CvPlot* self);static void ReplaceCvPlot_ClearCityPurchaseInfo(void (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_ClearCityPurchaseInfo>(host, &BeforeCvPlot_ClearCityPurchaseInfo);CivRegisterAfter<CivHooks::CvPlot_ClearCityPurchaseInfo>(host, &AfterCvPlot_ClearCityPurchaseInfo);CivRegisterReplace<CivHooks::CvPlot_ClearCityPurchaseInfo>(host, &ReplaceCvPlot_ClearCityPurchaseInfo);

Code

5742void CvPlot::ClearCityPurchaseInfo(void)5743{5744	m_purchaseCity.eOwner = NO_PLAYER;5745	m_purchaseCity.iID = -1;5746}

Called by