CvGame::incrementGameTurn()
- Defined in
- CvGame.cpp, line 4472
- Class
- CvGame
- Hook name
CivHooks::CvGame_incrementGameTurn
Hooks
static bool BeforeCvGame_incrementGameTurn(CvGame* self);static void AfterCvGame_incrementGameTurn(CvGame* self);static void ReplaceCvGame_incrementGameTurn(void (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_incrementGameTurn>(host, &BeforeCvGame_incrementGameTurn);CivRegisterAfter<CivHooks::CvGame_incrementGameTurn>(host, &AfterCvGame_incrementGameTurn);CivRegisterReplace<CivHooks::CvGame_incrementGameTurn>(host, &ReplaceCvGame_incrementGameTurn);
Code
4472void CvGame::incrementGameTurn()4473{4474 setGameTurn(getGameTurn() + 1);4475}