Bazaar developer reference

CvGame::IsEndGameTechResearched() const

Defined in
CvGame.cpp, line 10920
Class
CvGame
Hook name
CivHooks::CvGame_IsEndGameTechResearched

Hooks

static bool BeforeCvGame_IsEndGameTechResearched(const CvGame* self, bool& result);static void AfterCvGame_IsEndGameTechResearched(const CvGame* self, bool& result);static bool ReplaceCvGame_IsEndGameTechResearched(bool (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_IsEndGameTechResearched>(host, &BeforeCvGame_IsEndGameTechResearched);CivRegisterAfter<CivHooks::CvGame_IsEndGameTechResearched>(host, &AfterCvGame_IsEndGameTechResearched);CivRegisterReplace<CivHooks::CvGame_IsEndGameTechResearched>(host, &ReplaceCvGame_IsEndGameTechResearched);

Code

10919/// Has a player researched a Tech which ends the game?10920bool CvGame::IsEndGameTechResearched() const10921{10922	return m_bEndGameTechResearched;10923}

Called by