Bazaar developer reference

CvPlot::GetCityPurchaseOwner()

Defined in
CvPlot.cpp, line 5749
Class
CvPlot
Hook name
CivHooks::CvPlot_GetCityPurchaseOwner

Hooks

static bool BeforeCvPlot_GetCityPurchaseOwner(CvPlot* self, PlayerTypes& result);static void AfterCvPlot_GetCityPurchaseOwner(CvPlot* self, PlayerTypes& result);static PlayerTypes ReplaceCvPlot_GetCityPurchaseOwner(PlayerTypes (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_GetCityPurchaseOwner>(host, &BeforeCvPlot_GetCityPurchaseOwner);CivRegisterAfter<CivHooks::CvPlot_GetCityPurchaseOwner>(host, &AfterCvPlot_GetCityPurchaseOwner);CivRegisterReplace<CivHooks::CvPlot_GetCityPurchaseOwner>(host, &ReplaceCvPlot_GetCityPurchaseOwner);

Code

5749PlayerTypes CvPlot::GetCityPurchaseOwner(void)5750{5751	return m_purchaseCity.eOwner;5752}

Called by