Hooks
static bool BeforeCvDllUnit_CanSwapWithUnitHere(const CvDllUnit* self, ICvPlot1* pPlot, bool& result);static void AfterCvDllUnit_CanSwapWithUnitHere(const CvDllUnit* self, ICvPlot1* pPlot, bool& result);static bool ReplaceCvDllUnit_CanSwapWithUnitHere(bool (*original)(const CvDllUnit*, ICvPlot1*), const CvDllUnit* self, ICvPlot1* pPlot);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_CanSwapWithUnitHere::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_CanSwapWithUnitHere);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_CanSwapWithUnitHere::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_CanSwapWithUnitHere);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_CanSwapWithUnitHere::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_CanSwapWithUnitHere);