Bazaar developer reference

CvPlot::GetResourceLinkedCity() const

Defined in
CvPlot.cpp, line 7442
Class
CvPlot
Hook name
CivHooks::CvPlot_GetResourceLinkedCity

Hooks

static bool BeforeCvPlot_GetResourceLinkedCity(const CvPlot* self, CvCity*& result);static void AfterCvPlot_GetResourceLinkedCity(const CvPlot* self, CvCity*& result);static CvCity* ReplaceCvPlot_GetResourceLinkedCity(CvCity* (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_GetResourceLinkedCity>(host, &BeforeCvPlot_GetResourceLinkedCity);CivRegisterAfter<CivHooks::CvPlot_GetResourceLinkedCity>(host, &AfterCvPlot_GetResourceLinkedCity);CivRegisterReplace<CivHooks::CvPlot_GetResourceLinkedCity>(host, &ReplaceCvPlot_GetResourceLinkedCity);

Code

7442CvCity* CvPlot::GetResourceLinkedCity() const7443{7444	return getCity(m_ResourceLinkedCity);7445}

Calls

Called by