DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetInitRain()

void SceneData::SetInitRain ( float value)
inlineprotected

См. определение в файле SceneData.c строка 233

234 {
235 m_WeaterInitRain = value;
236 GetGame().GetWeather().GetRain().Set( value, 0, 1000 );
237 }
proto native Weather GetWeather()
Returns weather controller object.
float m_WeaterInitRain
Определения SceneData.c:12
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native void Set(float forecast, float time=0, float minDuration=0)
Sets the forecast.
proto native CGame GetGame()

Перекрестные ссылки GetGame(), Weather::GetRain(), CGame::GetWeather(), m_WeaterInitRain и WeatherPhenomenon::Set().

Используется в PluginConfigHandler::LoadSceneWeather().