Bazaar developer reference

CvTechEntry::IsMapTrading() const

Defined in
CvTechClasses.cpp, line 406
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsMapTrading

Hooks

static bool BeforeCvTechEntry_IsMapTrading(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsMapTrading(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsMapTrading(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsMapTrading>(host, &BeforeCvTechEntry_IsMapTrading);CivRegisterAfter<CivHooks::CvTechEntry_IsMapTrading>(host, &AfterCvTechEntry_IsMapTrading);CivRegisterReplace<CivHooks::CvTechEntry_IsMapTrading>(host, &ReplaceCvTechEntry_IsMapTrading);

Code

405/// Does it enable world map trades?406bool CvTechEntry::IsMapTrading() const407{408	return m_bMapTrading;409}

Called by