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

◆ ForceOvercastReset()

void CGame::ForceOvercastReset ( )
inlineprotected

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

3130 {
3131 Weather weather = g_Game.GetWeather();
3132 weather.GetOvercast().SetNextChange(0);
3133
3134 if (weather.GetSandstorm().IsActive())
3135 {
3136 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).RemoveByName(this, "ForceOvercastReset");
3137 }
3138 }
DayZGame g_Game
Определения DayZGame.c:4074
proto native bool IsActive()
Returns whether sandstorm is currently active.
proto native Sandstorm GetSandstorm()
Returns the sandstorm phenomenon weather controller.
proto native Overcast GetOvercast()
Returns an overcast phenomenon object.
proto native void SetNextChange(float time)
Sets the time in seconds when the next forecast will be computed.
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, Weather::GetOvercast(), Weather::GetSandstorm(), SandstormController::IsActive() и WeatherPhenomenon::SetNextChange().

Используется в OnRPC().