Bazaar developer reference

CvTechEntry::IsGoodyTech() const

Defined in
CvTechClasses.cpp, line 370
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsGoodyTech

Hooks

static bool BeforeCvTechEntry_IsGoodyTech(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsGoodyTech(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsGoodyTech(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsGoodyTech>(host, &BeforeCvTechEntry_IsGoodyTech);CivRegisterAfter<CivHooks::CvTechEntry_IsGoodyTech>(host, &AfterCvTechEntry_IsGoodyTech);CivRegisterReplace<CivHooks::CvTechEntry_IsGoodyTech>(host, &ReplaceCvTechEntry_IsGoodyTech);

Code

369/// Can you receive it from a goody hut?370bool CvTechEntry::IsGoodyTech() const371{372	return m_bGoodyTech;373}

Called by