Bazaar developer reference

CvLuaGame::lCycleUnits(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 491
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lCycleUnits

Hooks

static bool BeforeCvLuaGame_lCycleUnits(lua_State* L, int& result);static void AfterCvLuaGame_lCycleUnits(lua_State* L, int& result);static int ReplaceCvLuaGame_lCycleUnits(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lCycleUnits>(host, &BeforeCvLuaGame_lCycleUnits);CivRegisterAfter<CivHooks::CvLuaGame_lCycleUnits>(host, &AfterCvLuaGame_lCycleUnits);CivRegisterReplace<CivHooks::CvLuaGame_lCycleUnits>(host, &ReplaceCvLuaGame_lCycleUnits);

Code

490// void cycleUnits(bool bClear, bool bForward, bool bWorkers);491int CvLuaGame::lCycleUnits(lua_State* L)492{493	return BasicLuaMethod(L, &CvGame::cycleUnits);494}

Calls

Called by