CvGame::getCalendar() const
- Defined in
- CvGame.cpp, line 7113
- Class
- CvGame
- Hook name
CivHooks::CvGame_getCalendar
Hooks
static bool BeforeCvGame_getCalendar(const CvGame* self, CalendarTypes& result);static void AfterCvGame_getCalendar(const CvGame* self, CalendarTypes& result);static CalendarTypes ReplaceCvGame_getCalendar(CalendarTypes (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getCalendar>(host, &BeforeCvGame_getCalendar);CivRegisterAfter<CivHooks::CvGame_getCalendar>(host, &AfterCvGame_getCalendar);CivRegisterReplace<CivHooks::CvGame_getCalendar>(host, &ReplaceCvGame_getCalendar);
Code
7113CalendarTypes CvGame::getCalendar() const7114{7115 return CvPreGame::calendar();7116}
Calls
Called by
- CvGameCulture::GetGreatWorkEra(int) const
- CvGameCulture::GetGreatWorkTooltip(int, PlayerTypes) const
- CvDllGame::SetTimeStr(char *, int, bool)
- CvGame::getTurnYear(int)
- CvReplayInfo::createInfo()
- CvLuaGame::lGetCalendar(lua_State *)
- CvLuaGame::lGetDateString(lua_State *)
- CvLuaGame::lGetTimeString(lua_State *)
- CvLuaGame::lGetTurnString(lua_State *)