Bazaar developer reference

CvGame::getMaxTurns() const

Defined in
CvGame.cpp, line 4508
Class
CvGame
Hook name
CivHooks::CvGame_getMaxTurns

Hooks

static bool BeforeCvGame_getMaxTurns(const CvGame* self, int& result);static void AfterCvGame_getMaxTurns(const CvGame* self, int& result);static int ReplaceCvGame_getMaxTurns(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getMaxTurns>(host, &BeforeCvGame_getMaxTurns);CivRegisterAfter<CivHooks::CvGame_getMaxTurns>(host, &AfterCvGame_getMaxTurns);CivRegisterReplace<CivHooks::CvGame_getMaxTurns>(host, &ReplaceCvGame_getMaxTurns);

Code

4508int CvGame::getMaxTurns() const4509{4510	return CvPreGame::maxTurns();4511}

Calls

Called by