CvLuaGame::lSelectionListMove(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 510
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lSelectionListMove
Hooks
static bool BeforeCvLuaGame_lSelectionListMove(lua_State* L, int& result);static void AfterCvLuaGame_lSelectionListMove(lua_State* L, int& result);static int ReplaceCvLuaGame_lSelectionListMove(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSelectionListMove>(host, &BeforeCvLuaGame_lSelectionListMove);CivRegisterAfter<CivHooks::CvLuaGame_lSelectionListMove>(host, &AfterCvLuaGame_lSelectionListMove);CivRegisterReplace<CivHooks::CvLuaGame_lSelectionListMove>(host, &ReplaceCvLuaGame_lSelectionListMove);
Code
509// void selectionListMove(CyPlot* pPlot, bool bAlt, bool bShift, bool bCtrl);510int CvLuaGame::lSelectionListMove(lua_State* L)511{512 CvPlot* pkPlot = CvLuaPlot::GetInstance(L, 1);513 const bool bShift = lua_toboolean(L, 3);514515 GetInstance()->selectionListMove(pkPlot, bShift);516 return 0;517}
Calls
- CvGame::selectionListMove(CvPlot *, bool)
- CvLuaGame::GetInstance(lua_State *, int)
CvLuaScopedInstance::GetInstancelua_toboolean