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

◆ WriteToContext()

override void ActionRepairMotorbikePart::WriteToContext ( ParamsWriteContext ctx,
ActionData action_data )
inlineprivate

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

122 {
123 super.WriteToContext(ctx, action_data);
124 RepairMotorbikePartActionData repairActionData;
125
126 if (HasTarget() && Class.CastTo(repairActionData, action_data))
127 {
128 repairActionData.m_DamageZone = m_CurrentDamageZone;
129 ctx.Write(repairActionData.m_DamageZone);
130 }
131 }
bool HasTarget()
Определения ActionBase.c:259
proto bool Write(void value_out)

Перекрестные ссылки Class::CastTo(), HasTarget(), ActionRepairVehiclePartBase::m_CurrentDamageZone и Serializer::Write().