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
- CvGame::calculateSyncChecksum()
- CvGame::changeTurnSlice(int)
- CvGame::doControl(ControlTypes)
- CvGame::getMinutesPlayed() const
- CvGame::hasTurnTimerExpired(PlayerTypes)
- CvGame::selectGroup(CvUnit *, bool, bool, bool)
- CvGame::unitIsMoving()
- CvGame::update()
- CvGame::updateTestEndTurn()
- CvRandom::get(unsigned short, const char *)
- CvUnit::setXY(int, int, bool, bool, bool, bool, bool)
- CvLuaGame::lGetTurnSlice(lua_State *)