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

◆ ReadFromContext()

override bool ActionRepairVehiclePartBase::ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )
inlineprotected

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

103 {
104 if (!action_recive_data)
105 {
106 action_recive_data = new RepairVehiclePartActionReciveData();
107 }
108
109 super.ReadFromContext(ctx, action_recive_data);
110 RepairVehiclePartActionReciveData recieveDataRepair = RepairVehiclePartActionReciveData.Cast(action_recive_data);
111
112 if (HasTarget())
113 {
114 string zone;
115 if (!ctx.Read(zone))
116 {
117 return false;
118 }
119
120 recieveDataRepair.m_DamageZoneRecived = zone;
121 }
122
123 return true;
124 }
bool HasTarget()
Определения ActionBase.c:244
proto bool Read(void value_in)

Перекрестные ссылки ActionBase::HasTarget(), RepairVehiclePartActionReciveData::m_DamageZoneRecived и Serializer::Read().