| 2172 | } |
| 2173 | |
| 2174 | Json WorldClient::getProperty(String const& propertyName, Json const& def) const { |
| 2175 | if (!inWorld()) |
| 2176 | return {}; |
| 2177 | |
| 2178 | return m_worldProperties.value(propertyName, def); |
| 2179 | } |
| 2180 | |
| 2181 | void WorldClient::setProperty(String const& propertyName, Json const& property) { |
| 2182 | if (!inWorld()) |
no test coverage detected