| 315 | } |
| 316 | |
| 317 | void ClientWeather::getNetStates() { |
| 318 | if (m_weatherPoolNetState.pullUpdated()) |
| 319 | m_weatherPool = WeatherPool(DataStreamBuffer::deserializeContainer<WeatherPool::ItemsList>(m_weatherPoolNetState.get())); |
| 320 | m_undergroundLevel = m_undergroundLevelNetState.get(); |
| 321 | m_currentWeatherIndex = m_currentWeatherIndexNetState.get(); |
| 322 | m_currentWeatherIntensity = m_currentWeatherIntensityNetState.get(); |
| 323 | m_currentWind = m_currentWindNetState.get(); |
| 324 | } |
| 325 | |
| 326 | void ClientWeather::spawnWeatherParticles(RectF newClientRegion, float dt) { |
| 327 | if (!m_currentWeatherType) |
nothing calls this directly
no test coverage detected