Bazaar developer reference

CvLuaGame::lGetCalendar(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1411
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetCalendar

Hooks

static bool BeforeCvLuaGame_lGetCalendar(lua_State* L, int& result);static void AfterCvLuaGame_lGetCalendar(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetCalendar(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetCalendar>(host, &BeforeCvLuaGame_lGetCalendar);CivRegisterAfter<CivHooks::CvLuaGame_lGetCalendar>(host, &AfterCvLuaGame_lGetCalendar);CivRegisterReplace<CivHooks::CvLuaGame_lGetCalendar>(host, &ReplaceCvLuaGame_lGetCalendar);

Code

1410//CalendarTypes getCalendar();1411int CvLuaGame::lGetCalendar(lua_State* L)1412{1413	return BasicLuaMethod(L, &CvGame::getCalendar);1414}

Calls

Called by