Bazaar developer reference

CvDllPreGame::setCalendar(CalendarTypes)

Defined in
CvDllPreGame.cpp, line 610
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setCalendar

Hooks

static bool BeforeCvDllPreGame_setCalendar(CvDllPreGame* self, CalendarTypes c);static void AfterCvDllPreGame_setCalendar(CvDllPreGame* self, CalendarTypes c);static void ReplaceCvDllPreGame_setCalendar(void (*original)(CvDllPreGame*, CalendarTypes), CvDllPreGame* self, CalendarTypes c);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCalendar::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCalendar);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCalendar::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCalendar);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCalendar::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCalendar);

Code

610void CvDllPreGame::setCalendar(CalendarTypes c)611{612	CvPreGame::setCalendar(c);613}

Calls