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

◆ ReadFromContext()

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

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

323 {
324 if (!action_recive_data)
325 {
326 action_recive_data = new CarHornActionReceiveData();
327 }
328
329 super.ReadFromContext(ctx, action_recive_data);
330
331 bool needUpdate;
332 if (!ctx.Read(needUpdate))
333 return false;
334
335 CarScript carScript;
336 if (!ctx.Read(carScript))
337 return false;
338
339 CarHornActionReceiveData carHornReceivedData = CarHornActionReceiveData.Cast(action_recive_data);
340 carHornReceivedData.m_ActionNeedEnd = needUpdate;
341 carHornReceivedData.m_Car = carScript;
342
343 return true;
344 }
proto bool Read(void value_in)

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