Bazaar developer reference

CvTechEntry::IsResearchAgreementTradingAllowed() const

Defined in
CvTechClasses.cpp, line 442
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsResearchAgreementTradingAllowed

Hooks

static bool BeforeCvTechEntry_IsResearchAgreementTradingAllowed(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsResearchAgreementTradingAllowed(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsResearchAgreementTradingAllowed(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsResearchAgreementTradingAllowed>(host, &BeforeCvTechEntry_IsResearchAgreementTradingAllowed);CivRegisterAfter<CivHooks::CvTechEntry_IsResearchAgreementTradingAllowed>(host, &AfterCvTechEntry_IsResearchAgreementTradingAllowed);CivRegisterReplace<CivHooks::CvTechEntry_IsResearchAgreementTradingAllowed>(host, &ReplaceCvTechEntry_IsResearchAgreementTradingAllowed);

Code

441/// Can you form Research Agreements?442bool CvTechEntry::IsResearchAgreementTradingAllowed() const443{444	return m_bResearchAgreementTradingAllowed;445}

Called by