Hooks
static bool BeforeCvDllUnit_MovesLeft(const CvDllUnit* self, int& result);static void AfterCvDllUnit_MovesLeft(const CvDllUnit* self, int& result);static int ReplaceCvDllUnit_MovesLeft(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_MovesLeft::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_MovesLeft);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_MovesLeft::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_MovesLeft);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_MovesLeft::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_MovesLeft);