Bazaar developer reference

CvTeam::GetResearchAgreementTradingAllowedCount() const

Defined in
CvTeam.cpp, line 3103
Class
CvTeam
Hook name
CivHooks::CvTeam_GetResearchAgreementTradingAllowedCount

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);

Code

3103int CvTeam::GetResearchAgreementTradingAllowedCount() const3104{3105	return m_iResearchAgreementTradingAllowedCount;3106}

Called by