Hooks
static bool BeforeCvDiplomacyAI_IsWantsResearchAgreementWithPlayer(const CvDiplomacyAI* self, PlayerTypes ePlayer, bool& result);static void AfterCvDiplomacyAI_IsWantsResearchAgreementWithPlayer(const CvDiplomacyAI* self, PlayerTypes ePlayer, bool& result);static bool ReplaceCvDiplomacyAI_IsWantsResearchAgreementWithPlayer(bool (*original)(const CvDiplomacyAI*, PlayerTypes), const CvDiplomacyAI* self, PlayerTypes ePlayer);CivRegisterBefore<CivHooks::CvDiplomacyAI_IsWantsResearchAgreementWithPlayer>(host, &BeforeCvDiplomacyAI_IsWantsResearchAgreementWithPlayer);CivRegisterAfter<CivHooks::CvDiplomacyAI_IsWantsResearchAgreementWithPlayer>(host, &AfterCvDiplomacyAI_IsWantsResearchAgreementWithPlayer);CivRegisterReplace<CivHooks::CvDiplomacyAI_IsWantsResearchAgreementWithPlayer>(host, &ReplaceCvDiplomacyAI_IsWantsResearchAgreementWithPlayer);