Bazaar developer reference

CvPlot::GetCityPurchaseID()

Defined in
CvPlot.cpp, line 5755
Class
CvPlot
Hook name
CivHooks::CvPlot_GetCityPurchaseID

Hooks

static bool BeforeCvPlot_GetCityPurchaseID(CvPlot* self, int& result);static void AfterCvPlot_GetCityPurchaseID(CvPlot* self, int& result);static int ReplaceCvPlot_GetCityPurchaseID(int (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_GetCityPurchaseID>(host, &BeforeCvPlot_GetCityPurchaseID);CivRegisterAfter<CivHooks::CvPlot_GetCityPurchaseID>(host, &AfterCvPlot_GetCityPurchaseID);CivRegisterReplace<CivHooks::CvPlot_GetCityPurchaseID>(host, &ReplaceCvPlot_GetCityPurchaseID);

Code

5755int CvPlot::GetCityPurchaseID(void)5756{5757	return m_purchaseCity.iID;5758}

Called by