Bazaar developer reference

CvEraInfo::getResearchAgreementCost() const

Defined in
CvInfos.cpp, line 6678
Class
CvEraInfo
Hook name
CivHooks::CvEraInfo_getResearchAgreementCost

Hooks

static bool BeforeCvEraInfo_getResearchAgreementCost(const CvEraInfo* self, int& result);static void AfterCvEraInfo_getResearchAgreementCost(const CvEraInfo* self, int& result);static int ReplaceCvEraInfo_getResearchAgreementCost(int (*original)(const CvEraInfo*), const CvEraInfo* self);CivRegisterBefore<CivHooks::CvEraInfo_getResearchAgreementCost>(host, &BeforeCvEraInfo_getResearchAgreementCost);CivRegisterAfter<CivHooks::CvEraInfo_getResearchAgreementCost>(host, &AfterCvEraInfo_getResearchAgreementCost);CivRegisterReplace<CivHooks::CvEraInfo_getResearchAgreementCost>(host, &ReplaceCvEraInfo_getResearchAgreementCost);

Code

6678int CvEraInfo::getResearchAgreementCost() const6679{6680	return m_iResearchAgreementCost;6681}

Called by