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

◆ OnStart()

event void SandstormController::OnStart ( bool continuedSession,
bool calledByWeather = false )
inlineprotected

Callback raised when the sandstorm becomes active. Raised for both the server and the client.

Заметки
For clients joining a in progress this event will be raised even if the sandstorm has already been in progress on the server prior.

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

91 {
92 // Forward the callback to WorldData
93 if (g_Game.IsServer())
94 {
95 GetGame().GetMission().GetWorldData().WeatherSandstormStart(continuedSession);
96 }
97 }
DayZGame g_Game
Определения DayZGame.c:4074
DayZGame GetGame()
Определения gameplay.c:636

Перекрестные ссылки g_Game и GetGame().