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