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

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )

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

280 {
281 if (!action_recive_data)
282 action_recive_data = new PlaceObjectActionReciveData;
283
284 super.ReadFromContext(ctx, action_recive_data);
285 PlaceObjectActionReciveData recive_data_po = PlaceObjectActionReciveData.Cast(action_recive_data);
286
287 vector entity_position = "0 0 0";
288 vector entity_orientation = "0 0 0";
289 if (!ctx.Read(entity_position))
290 return false;
291 if (!ctx.Read(entity_orientation))
292 return false;
293
294 recive_data_po.m_Position = entity_position;
295 recive_data_po.m_Orientation = entity_orientation;
296
297 return true;
298 }
vector m_Orientation
Определения ActionDeployObject.c:4
proto bool Read(void value_in)
Определения EnConvert.c:106

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