CvGame::getStartYear() const
- Defined in
- CvGame.cpp, line 4583
- Class
- CvGame
- Hook name
CivHooks::CvGame_getStartYear
Hooks
static bool BeforeCvGame_getStartYear(const CvGame* self, int& result);static void AfterCvGame_getStartYear(const CvGame* self, int& result);static int ReplaceCvGame_getStartYear(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getStartYear>(host, &BeforeCvGame_getStartYear);CivRegisterAfter<CivHooks::CvGame_getStartYear>(host, &AfterCvGame_getStartYear);CivRegisterReplace<CivHooks::CvGame_getStartYear>(host, &ReplaceCvGame_getStartYear);
Code
4583int CvGame::getStartYear() const4584{4585 return m_iStartYear;4586}
Called by
- CvGameCulture::GetGreatWorkEra(int) const
- CvGameCulture::GetGreatWorkTooltip(int, PlayerTypes) const
- CvDllGame::SetTimeStr(char *, int, bool)
- CvGame::getTurnYear(int)
- CvReplayInfo::createInfo()
- CvLuaGame::lGetDateString(lua_State *)
- CvLuaGame::lGetStartYear(lua_State *)
- CvLuaGame::lGetTimeString(lua_State *)
- CvLuaGame::lGetTurnString(lua_State *)