Bazaar developer reference

CvDllPlot::GetOwner() const

Defined in
CvDllPlot.cpp, line 190
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetOwner

Hooks

static bool BeforeCvDllPlot_GetOwner(const CvDllPlot* self, PlayerTypes& result);static void AfterCvDllPlot_GetOwner(const CvDllPlot* self, PlayerTypes& result);static PlayerTypes ReplaceCvDllPlot_GetOwner(PlayerTypes (*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_GetOwner::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetOwner::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetOwner::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetOwner);

Code

190PlayerTypes CvDllPlot::GetOwner() const191{192	return m_pPlot->getOwner();193}

Calls