Hooks
static bool BeforeCvDllDeal_IncrementReference(CvDllDeal* self, unsigned int& result);static void AfterCvDllDeal_IncrementReference(CvDllDeal* self, unsigned int& result);static unsigned int ReplaceCvDllDeal_IncrementReference(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_IncrementReference::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDeal_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_IncrementReference::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDeal_IncrementReference);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDeal_IncrementReference::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDeal_IncrementReference);