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

◆ ReadFromContext()

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

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

134 {
135 if (!action_recive_data)
136 action_recive_data = new RepairMotorbikePartReceiveData();
137
138 super.ReadFromContext(ctx, action_recive_data);
139 RepairMotorbikePartReceiveData receiveDataRepair = RepairMotorbikePartReceiveData.Cast(action_recive_data);
140
141 if (HasTarget())
142 {
143 string zone;
144 if (!ctx.Read(zone))
145 return false;
146
147 receiveDataRepair.m_DamageZoneRecived = zone;
148 }
149
150 return true;
151 }
bool HasTarget()
Определения ActionBase.c:259
proto bool Read(void value_in)

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