Bazaar developer reference

CvTechEntry::IsTechTrading() const

Defined in
CvTechClasses.cpp, line 412
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsTechTrading

Hooks

static bool BeforeCvTechEntry_IsTechTrading(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsTechTrading(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsTechTrading(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsTechTrading>(host, &BeforeCvTechEntry_IsTechTrading);CivRegisterAfter<CivHooks::CvTechEntry_IsTechTrading>(host, &AfterCvTechEntry_IsTechTrading);CivRegisterReplace<CivHooks::CvTechEntry_IsTechTrading>(host, &ReplaceCvTechEntry_IsTechTrading);

Code

411/// Does it enable technology trading?412bool CvTechEntry::IsTechTrading() const413{414	return m_bTechTrading;415}

Called by