CvGame::setStartTurn(int)
- Defined in
- CvGame.cpp, line 4564
- Class
- CvGame
- Hook name
CivHooks::CvGame_setStartTurn
Hooks
static bool BeforeCvGame_setStartTurn(CvGame* self, int iNewValue);static void AfterCvGame_setStartTurn(CvGame* self, int iNewValue);static void ReplaceCvGame_setStartTurn(void (*original)(CvGame*, int), CvGame* self, int iNewValue);CivRegisterBefore<CivHooks::CvGame_setStartTurn>(host, &BeforeCvGame_setStartTurn);CivRegisterAfter<CivHooks::CvGame_setStartTurn>(host, &AfterCvGame_setStartTurn);CivRegisterReplace<CivHooks::CvGame_setStartTurn>(host, &ReplaceCvGame_setStartTurn);
Code
4564void CvGame::setStartTurn(int iNewValue)4565{4566 m_iStartTurn = iNewValue;4567}