Bazaar developer reference

CvDllUnit::GetMoves() const

Defined in
CvDllUnit.cpp, line 99
Class
CvDllUnit
Hook name
CivHooks::CvDllUnit_GetMoves

Hooks

static bool BeforeCvDllUnit_GetMoves(const CvDllUnit* self, int& result);static void AfterCvDllUnit_GetMoves(const CvDllUnit* self, int& result);static int ReplaceCvDllUnit_GetMoves(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_GetMoves::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetMoves);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetMoves::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetMoves);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetMoves::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetMoves);

Code

99int CvDllUnit::GetMoves() const100{101	return m_pUnit->getMoves();102}

Calls