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

◆ OnOpen() [8/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

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

202 {
204
205 Weather weather = GetGame().GetWeather();
206
208 m_OrigRain = weather.GetRain().GetActual();
209 m_OrigFog = weather.GetFog().GetActual();
210 m_OrigWindForce = weather.GetWindSpeed();
211
221
222 Print( "Year" );
223 Print( m_CurrYear );
224
226
227 ResetSliders();
228 }
proto native World GetWorld()
override ScriptInvoker GetUpdateQueue(int call_category)
Определения DayZGame.c:1192
proto native Weather GetWeather()
Returns weather controller object.
proto bool Insert(func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE)
insert method to list
int m_OrigYear
Определения UIPopupScriptSceneManager.c:30
int m_OrigMonth
Определения UIPopupScriptSceneManager.c:31
int m_CurrYear
Определения UIPopupScriptSceneManager.c:40
void OnUpdate()
Определения UIPopupScriptSceneManager.c:359
float m_CurrWindForce
Определения UIPopupScriptSceneManager.c:48
float m_CurrOvercast
Определения UIPopupScriptSceneManager.c:45
int m_CurrDay
Определения UIPopupScriptSceneManager.c:42
int m_CurrHour
Определения UIPopupScriptSceneManager.c:43
int m_OrigDay
Определения UIPopupScriptSceneManager.c:32
void ResetSliders()
Определения UIPopupScriptSceneManager.c:367
int m_CurrMonth
Определения UIPopupScriptSceneManager.c:41
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
int m_CurrMinute
Определения UIPopupScriptSceneManager.c:44
float m_CurrRain
Определения UIPopupScriptSceneManager.c:46
float m_CurrFog
Определения UIPopupScriptSceneManager.c:47
float m_OrigWindForce
Определения UIPopupScriptSceneManager.c:38
proto native Fog GetFog()
Returns a fog phenomenon object.
proto native float GetWindSpeed()
Returns actual wind speed in metre per second.
proto native Rain GetRain()
Returns a rain phenomenon object.
proto native Overcast GetOvercast()
Returns an overcast phenomenon object.
proto native float GetActual()
proto void GetDate(out int year, out int month, out int day, out int hour, out int minute)
Get actual ingame world time.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
const int CALL_CATEGORY_SYSTEM
Определения tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, WeatherPhenomenon::GetActual(), World::GetDate(), Weather::GetFog(), GetGame(), Weather::GetOvercast(), Weather::GetRain(), CGame::GetUpdateQueue(), CGame::GetWeather(), Weather::GetWindSpeed(), CGame::GetWorld(), ScriptInvoker::Insert(), m_CurrDay, m_CurrFog, m_CurrHour, m_CurrMinute, m_CurrMonth, m_CurrOvercast, m_CurrRain, m_CurrWindForce, m_CurrYear, m_OrigDay, m_OrigFog, m_OrigHour, m_OrigMinute, m_OrigMonth, m_OrigOvercast, m_OrigRain, m_OrigWindForce, m_OrigYear, OnUpdate(), Print() и ResetSliders().