Bazaar developer reference

CvTechEntry::IsAllowsWorldCongress() const

Defined in
CvTechClasses.cpp, line 382
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsAllowsWorldCongress

Hooks

static bool BeforeCvTechEntry_IsAllowsWorldCongress(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsAllowsWorldCongress(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsAllowsWorldCongress(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsAllowsWorldCongress>(host, &BeforeCvTechEntry_IsAllowsWorldCongress);CivRegisterAfter<CivHooks::CvTechEntry_IsAllowsWorldCongress>(host, &AfterCvTechEntry_IsAllowsWorldCongress);CivRegisterReplace<CivHooks::CvTechEntry_IsAllowsWorldCongress>(host, &ReplaceCvTechEntry_IsAllowsWorldCongress);

Code

381/// Does this tech allow the founding of the World Congress?382bool CvTechEntry::IsAllowsWorldCongress() const383{384	return m_bAllowsWorldCongress;385}

Called by