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

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )

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

270 {
271 if (!action_recive_data)
272 action_recive_data = new PlaceObjectActionReciveData;
273
274 super.ReadFromContext(ctx, action_recive_data);
275 PlaceObjectActionReciveData action_data_po = PlaceObjectActionReciveData.Cast(action_recive_data);
276
277 vector entity_position = "0 0 0";
278 vector entity_orientation = "0 0 0";
279 if (!ctx.Read(entity_position))
280 return false;
281 if (!ctx.Read(entity_orientation))
282 return false;
283
284 action_data_po.m_Position = entity_position;
285 action_data_po.m_Orientation = entity_orientation;
286
287 return true;
288 }
vector m_Orientation
Определения ActionDeployObject.c:4
proto bool Read(void value_in)
Определения EnConvert.c:106

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