Bazaar developer reference

CvGame::getTurnSlice() const

Defined in
CvGame.cpp, line 4624
Class
CvGame
Hook name
CivHooks::CvGame_getTurnSlice

Hooks

static bool BeforeCvGame_getTurnSlice(const CvGame* self, int& result);static void AfterCvGame_getTurnSlice(const CvGame* self, int& result);static int ReplaceCvGame_getTurnSlice(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getTurnSlice>(host, &BeforeCvGame_getTurnSlice);CivRegisterAfter<CivHooks::CvGame_getTurnSlice>(host, &AfterCvGame_getTurnSlice);CivRegisterReplace<CivHooks::CvGame_getTurnSlice>(host, &ReplaceCvGame_getTurnSlice);

Code

4624int CvGame::getTurnSlice() const4625{4626	return m_iTurnSlice;4627}

Called by