Bazaar developer reference

CvGame::GetUnitedNationsCountdown() const

Defined in
CvGame.cpp, line 5275
Class
CvGame
Hook name
CivHooks::CvGame_GetUnitedNationsCountdown

Hooks

static bool BeforeCvGame_GetUnitedNationsCountdown(const CvGame* self, int& result);static void AfterCvGame_GetUnitedNationsCountdown(const CvGame* self, int& result);static int ReplaceCvGame_GetUnitedNationsCountdown(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetUnitedNationsCountdown>(host, &BeforeCvGame_GetUnitedNationsCountdown);CivRegisterAfter<CivHooks::CvGame_GetUnitedNationsCountdown>(host, &AfterCvGame_GetUnitedNationsCountdown);CivRegisterReplace<CivHooks::CvGame_GetUnitedNationsCountdown>(host, &ReplaceCvGame_GetUnitedNationsCountdown);

Code

5274/// United Nations diplo victory countdown5275int CvGame::GetUnitedNationsCountdown() const5276{5277	return m_iUnitedNationsCountdown;5278}

Called by