Hooks
static bool BeforeCvTeam_GetResearchAgreementTradingAllowedCount(const CvTeam* self, int& result);static void AfterCvTeam_GetResearchAgreementTradingAllowedCount(const CvTeam* self, int& result);static int ReplaceCvTeam_GetResearchAgreementTradingAllowedCount(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_GetResearchAgreementTradingAllowedCount>(host, &BeforeCvTeam_GetResearchAgreementTradingAllowedCount);CivRegisterAfter<CivHooks::CvTeam_GetResearchAgreementTradingAllowedCount>(host, &AfterCvTeam_GetResearchAgreementTradingAllowedCount);CivRegisterReplace<CivHooks::CvTeam_GetResearchAgreementTradingAllowedCount>(host, &ReplaceCvTeam_GetResearchAgreementTradingAllowedCount);