| 116 | } |
| 117 | |
| 118 | sol::table LuaStorage::Section::asTable(lua_State* state) |
| 119 | { |
| 120 | checkIfActive(); |
| 121 | sol::table res(state, sol::create); |
| 122 | for (const auto& [k, v] : mValues) |
| 123 | res[k] = v.getCopy(state); |
| 124 | return res; |
| 125 | } |
| 126 | |
| 127 | void LuaStorage::initLuaBindings(LuaUtil::LuaView& view) |
| 128 | { |
no test coverage detected