Bazaar developer reference

CvTechEntry::IsGoldTrading() const

Defined in
CvTechClasses.cpp, line 418
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsGoldTrading

Hooks

static bool BeforeCvTechEntry_IsGoldTrading(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsGoldTrading(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsGoldTrading(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsGoldTrading>(host, &BeforeCvTechEntry_IsGoldTrading);CivRegisterAfter<CivHooks::CvTechEntry_IsGoldTrading>(host, &AfterCvTechEntry_IsGoldTrading);CivRegisterReplace<CivHooks::CvTechEntry_IsGoldTrading>(host, &ReplaceCvTechEntry_IsGoldTrading);

Code

417/// Does it enable gold trading?418bool CvTechEntry::IsGoldTrading() const419{420	return m_bGoldTrading;421}

Called by