Bazaar developer reference

CvGame::setTurnSlice(int)

Defined in
CvGame.cpp, line 4638
Class
CvGame
Hook name
CivHooks::CvGame_setTurnSlice

Hooks

static bool BeforeCvGame_setTurnSlice(CvGame* self, int iNewValue);static void AfterCvGame_setTurnSlice(CvGame* self, int iNewValue);static void ReplaceCvGame_setTurnSlice(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setTurnSlice>(host, &BeforeCvGame_setTurnSlice);CivRegisterAfter<CivHooks::CvGame_setTurnSlice>(host, &AfterCvGame_setTurnSlice);CivRegisterReplace<CivHooks::CvGame_setTurnSlice>(host, &ReplaceCvGame_setTurnSlice);

Code

4638void CvGame::setTurnSlice(int iNewValue)4639{4640	m_iTurnSlice = iNewValue;4641}

Called by