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

◆ ReadFromContext()

override bool ActionCarHornLong::ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )
inlineprivate

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

316 {
317 if (!action_recive_data)
318 {
319 action_recive_data = new CarHornActionReceiveData();
320 }
321
322 super.ReadFromContext(ctx, action_recive_data);
323
324 bool needUpdate;
325 if (!ctx.Read(needUpdate))
326 return false;
327
328 CarScript carScript;
329 if (!ctx.Read(carScript))
330 return false;
331
332 CarHornActionReceiveData carHornReceivedData = CarHornActionReceiveData.Cast(action_recive_data);
333 carHornReceivedData.m_ActionNeedEnd = needUpdate;
334 carHornReceivedData.m_Car = carScript;
335
336 return true;
337 }
void CarScript()
Определения CarScript.c:280
proto bool Read(void value_in)

Перекрестные ссылки Serializer::Read().