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

◆ ReadFromContext()

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

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

179 {
180 if (!action_recive_data)
181 {
182 action_recive_data = new CarHornActionReceiveData();
183 }
184
185 super.ReadFromContext(ctx, action_recive_data);
186
187 bool needUpdate;
188 if (!ctx.Read(needUpdate))
189 return false;
190
191 CarScript carScript;
192 if (!ctx.Read(carScript))
193 return false;
194
195 CarHornActionReceiveData carHornReceivedData = CarHornActionReceiveData.Cast(action_recive_data);
196 carHornReceivedData.m_ActionNeedEnd = needUpdate;
197 carHornReceivedData.m_Car = carScript;
198
199 return true;
200 }
proto bool Read(void value_in)

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