CvLuaGame::lSetGameTurn(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 782
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lSetGameTurn
Hooks
static bool BeforeCvLuaGame_lSetGameTurn(lua_State* L, int& result);static void AfterCvLuaGame_lSetGameTurn(lua_State* L, int& result);static int ReplaceCvLuaGame_lSetGameTurn(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSetGameTurn>(host, &BeforeCvLuaGame_lSetGameTurn);CivRegisterAfter<CivHooks::CvLuaGame_lSetGameTurn>(host, &AfterCvLuaGame_lSetGameTurn);CivRegisterReplace<CivHooks::CvLuaGame_lSetGameTurn>(host, &ReplaceCvLuaGame_lSetGameTurn);
Code
781//void setGameTurn(int iNewValue);782int CvLuaGame::lSetGameTurn(lua_State* L)783{784 return BasicLuaMethod(L, &CvGame::setGameTurn);785}
Calls
- CvGame::setGameTurn(int)
CvLuaMethodWrapper::BasicLuaMethod