Bazaar developer reference

CvTechEntry::IsEndsGame() const

Defined in
CvTechClasses.cpp, line 322
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsEndsGame

Hooks

static bool BeforeCvTechEntry_IsEndsGame(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsEndsGame(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsEndsGame(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsEndsGame>(host, &BeforeCvTechEntry_IsEndsGame);CivRegisterAfter<CivHooks::CvTechEntry_IsEndsGame>(host, &AfterCvTechEntry_IsEndsGame);CivRegisterReplace<CivHooks::CvTechEntry_IsEndsGame>(host, &ReplaceCvTechEntry_IsEndsGame);

Code

321/// Does this Tech end the game?322bool CvTechEntry::IsEndsGame() const323{324	return m_bEndsGame;325}

Called by