142 {
143 super.WriteToContext(ctx, action_data);
144 RepairPartActionData repair_action_data;
145
146 if(
HasTarget() && Class.CastTo(repair_action_data,action_data) )
147 {
148 repair_action_data.m_ComponentIndex = action_data.m_Target.GetComponentIndex();
149 ctx.
Write(repair_action_data.m_ComponentIndex);
150 }
151 }
proto bool Write(void value_out)