CvLuaGame::lGetCustomModOption(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 3188
- Class
- CvLuaGame
- Not a hook point
- member without a separate declaration
Code
3188int CvLuaGame::lGetCustomModOption(lua_State* L)3189{3190 const char* szOption = luaL_checkstring(L, 1);3191 lua_pushinteger(L, gCustomMods.getOption(szOption, 0));3192 return 1;3193}
Calls
- CustomMods::getOption(const char *, int)
lua_pushintegerluaL_checklstring