Bazaar developer reference

CvDllPlot::IsCity() const

Defined in
CvDllPlot.cpp, line 125
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_IsCity

Hooks

static bool BeforeCvDllPlot_IsCity(const CvDllPlot* self, bool& result);static void AfterCvDllPlot_IsCity(const CvDllPlot* self, bool& result);static bool ReplaceCvDllPlot_IsCity(bool (*original)(const CvDllPlot*), const CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsCity::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_IsCity);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsCity::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_IsCity);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsCity::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_IsCity);

Code

125bool CvDllPlot::IsCity() const126{127	return m_pPlot->isCity();128}

Calls