Bazaar developer reference

CvDllUnit::GetY() const

Defined in
CvDllUnit.cpp, line 196
Class
CvDllUnit
Hook name
CivHooks::CvDllUnit_GetY

Hooks

static bool BeforeCvDllUnit_GetY(const CvDllUnit* self, int& result);static void AfterCvDllUnit_GetY(const CvDllUnit* self, int& result);static int ReplaceCvDllUnit_GetY(int (*original)(const CvDllUnit*), const CvDllUnit* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetY::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetY);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetY::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetY);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetY::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetY);

Code

196int CvDllUnit::GetY() const197{198	return m_pUnit->getY();199}

Calls