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

◆ ReadFromContext()

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

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

168 {
169 if(!action_recive_data)
170 {
171 action_recive_data = new RepairPartActionReciveData();
172 }
173 RepairPartActionReciveData recive_data_repair = RepairPartActionReciveData.Cast(action_recive_data);
174
175 super.ReadFromContext(ctx, action_recive_data);
176
177 if( HasTarget() )
178 {
179 int component_index;
180 if ( !ctx.Read(component_index) )
181 return false;
182
183 recive_data_repair.m_ComponentIndexRecived = component_index;
184 }
185 return true;
186 }
bool HasTarget()
Определения ActionBase.c:259
int m_ComponentIndexRecived
Определения ActionRepairPart.c:10
proto bool Read(void value_in)

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