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

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )

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

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

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