Hooks
static bool BeforeCvDiplomacyAI_GetNumResearchAgreementsWanted(const CvDiplomacyAI* self, int& result);static void AfterCvDiplomacyAI_GetNumResearchAgreementsWanted(const CvDiplomacyAI* self, int& result);static int ReplaceCvDiplomacyAI_GetNumResearchAgreementsWanted(int (*original)(const CvDiplomacyAI*), const CvDiplomacyAI* self);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetNumResearchAgreementsWanted>(host, &BeforeCvDiplomacyAI_GetNumResearchAgreementsWanted);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetNumResearchAgreementsWanted>(host, &AfterCvDiplomacyAI_GetNumResearchAgreementsWanted);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetNumResearchAgreementsWanted>(host, &ReplaceCvDiplomacyAI_GetNumResearchAgreementsWanted);