Bazaar developer reference

CvDllPlot::IsRiver() const

Defined in
CvDllPlot.cpp, line 104
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_IsRiver

Hooks

static bool BeforeCvDllPlot_IsRiver(const CvDllPlot* self, bool& result);static void AfterCvDllPlot_IsRiver(const CvDllPlot* self, bool& result);static bool ReplaceCvDllPlot_IsRiver(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_IsRiver::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_IsRiver);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsRiver::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_IsRiver);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsRiver::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_IsRiver);

Code

104bool CvDllPlot::IsRiver() const105{106	return m_pPlot->isRiver();107}

Calls