Hooks
static bool BeforeCvDllDeal_GetDuration(CvDllDeal* self, unsigned int& result);static void AfterCvDllDeal_GetDuration(CvDllDeal* self, unsigned int& result);static unsigned int ReplaceCvDllDeal_GetDuration(unsigned int (*original)(CvDllDeal*), CvDllDeal* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetDuration::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDeal_GetDuration);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetDuration::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDeal_GetDuration);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_GetDuration::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDeal_GetDuration);