Bazaar developer reference

CvTechEntry::IsTrade() const

Defined in
CvTechClasses.cpp, line 358
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsTrade

Hooks

static bool BeforeCvTechEntry_IsTrade(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsTrade(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsTrade(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsTrade>(host, &BeforeCvTechEntry_IsTrade);CivRegisterAfter<CivHooks::CvTechEntry_IsTrade>(host, &AfterCvTechEntry_IsTrade);CivRegisterReplace<CivHooks::CvTechEntry_IsTrade>(host, &ReplaceCvTechEntry_IsTrade);

Code

357/// Is it tradeable?358bool CvTechEntry::IsTrade() const359{360	return m_bTrade;361}