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