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

◆ OnClose() [3/3]

override void UIPopupScript::OnClose ( )
inlineprivate

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

234 {
235 Weather weather = GetGame().GetWeather();
236
238 weather.GetOvercast().Set( m_OrigOvercast, 0, 1000 );
239 weather.GetRain().Set( m_OrigRain, 0, 1000 );
240 weather.GetFog().Set( m_OrigFog, 0, 1000 );
241 //weather.SetWindSpeed( m_OrigWindForce );
242 }
proto native World GetWorld()
proto native Weather GetWeather()
Returns weather controller object.
int m_OrigYear
Определения UIPopupScriptSceneManager.c:30
int m_OrigMonth
Определения UIPopupScriptSceneManager.c:31
int m_OrigDay
Определения UIPopupScriptSceneManager.c:32
int m_OrigHour
Определения UIPopupScriptSceneManager.c:33
float m_OrigOvercast
Определения UIPopupScriptSceneManager.c:35
float m_OrigFog
Определения UIPopupScriptSceneManager.c:37
float m_OrigRain
Определения UIPopupScriptSceneManager.c:36
int m_OrigMinute
Определения UIPopupScriptSceneManager.c:34
proto native Fog GetFog()
Returns a fog phenomenon object.
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native Overcast GetOvercast()
Returns an overcast phenomenon object.
proto native void Set(float forecast, float time=0, float minDuration=0)
Sets the forecast.
proto native void SetDate(int year, int month, int day, int hour, int minute)
Sets actual ingame world time.
proto native CGame GetGame()

Перекрестные ссылки Weather::GetFog(), GetGame(), Weather::GetOvercast(), Weather::GetRain(), CGame::GetWeather(), CGame::GetWorld(), m_OrigDay, m_OrigFog, m_OrigHour, m_OrigMinute, m_OrigMonth, m_OrigOvercast, m_OrigRain, m_OrigYear, WeatherPhenomenon::Set() и World::SetDate().