Bazaar developer reference

CvPlot::IsResourceLinkedCityActive() const

Defined in
CvPlot.cpp, line 7470
Class
CvPlot
Hook name
CivHooks::CvPlot_IsResourceLinkedCityActive

Hooks

static bool BeforeCvPlot_IsResourceLinkedCityActive(const CvPlot* self, bool& result);static void AfterCvPlot_IsResourceLinkedCityActive(const CvPlot* self, bool& result);static bool ReplaceCvPlot_IsResourceLinkedCityActive(bool (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_IsResourceLinkedCityActive>(host, &BeforeCvPlot_IsResourceLinkedCityActive);CivRegisterAfter<CivHooks::CvPlot_IsResourceLinkedCityActive>(host, &AfterCvPlot_IsResourceLinkedCityActive);CivRegisterReplace<CivHooks::CvPlot_IsResourceLinkedCityActive>(host, &ReplaceCvPlot_IsResourceLinkedCityActive);

Code

7469/// Is the Resource connection with the linked city active? (e.g. pillaging)7470bool CvPlot::IsResourceLinkedCityActive() const7471{7472	return m_bResourceLinkedCityActive;7473}

Called by