Bazaar developer reference

CvPreGame::setCalendar(CalendarTypes)

Defined in
CvPreGame.cpp, line 2323
Hook name
CivHooks::CvPreGame_setCalendar

Hooks

static bool BeforeCvPreGame_setCalendar(CalendarTypes c);static void AfterCvPreGame_setCalendar(CalendarTypes c);static void ReplaceCvPreGame_setCalendar(void (*original)(CalendarTypes), CalendarTypes c);CivRegisterBefore<CivHooks::CvPreGame_setCalendar>(host, &BeforeCvPreGame_setCalendar);CivRegisterAfter<CivHooks::CvPreGame_setCalendar>(host, &AfterCvPreGame_setCalendar);CivRegisterReplace<CivHooks::CvPreGame_setCalendar>(host, &ReplaceCvPreGame_setCalendar);

Code

2323void setCalendar(CalendarTypes c)2324{2325	s_calendar = c;2326}

Calls

Called by