Bazaar developer reference

CvDllPlot::IsVisible(TeamTypes, bool) const

Defined in
CvDllPlot.cpp, line 120
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_IsVisible

Hooks

static bool BeforeCvDllPlot_IsVisible(const CvDllPlot* self, TeamTypes eTeam, bool bDebug, bool& result);static void AfterCvDllPlot_IsVisible(const CvDllPlot* self, TeamTypes eTeam, bool bDebug, bool& result);static bool ReplaceCvDllPlot_IsVisible(bool (*original)(const CvDllPlot*, TeamTypes, bool), const CvDllPlot* self, TeamTypes eTeam, bool bDebug);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsVisible::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_IsVisible);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsVisible::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_IsVisible);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_IsVisible::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_IsVisible);

Code

120bool CvDllPlot::IsVisible(TeamTypes eTeam, bool bDebug) const121{122	return m_pPlot->isVisible(eTeam, bDebug);123}

Calls