CvLuaGame::lGetStartTurn(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 878
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lGetStartTurn
Hooks
static bool BeforeCvLuaGame_lGetStartTurn(lua_State* L, int& result);static void AfterCvLuaGame_lGetStartTurn(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetStartTurn(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetStartTurn>(host, &BeforeCvLuaGame_lGetStartTurn);CivRegisterAfter<CivHooks::CvLuaGame_lGetStartTurn>(host, &AfterCvLuaGame_lGetStartTurn);CivRegisterReplace<CivHooks::CvLuaGame_lGetStartTurn>(host, &ReplaceCvLuaGame_lGetStartTurn);
Code
877//int getStartTurn();878int CvLuaGame::lGetStartTurn(lua_State* L)879{880 return BasicLuaMethod(L, &CvGame::getStartTurn);881}
Calls
- CvGame::getStartTurn() const
CvLuaMethodWrapper::BasicLuaMethod