Hooks
static bool BeforeCvDllUnit_IsBusy(const CvDllUnit* self, bool& result);static void AfterCvDllUnit_IsBusy(const CvDllUnit* self, bool& result);static bool ReplaceCvDllUnit_IsBusy(bool (*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_IsBusy::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_IsBusy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_IsBusy::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_IsBusy);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_IsBusy::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_IsBusy);