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

◆ ReadFromContext()

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

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

149 {
150 if(!action_recive_data)
151 {
152 action_recive_data = new RepairTentPartActionReciveData;
153 }
154 super.ReadFromContext(ctx, action_recive_data);
155 RepairTentPartActionReciveData recive_data_repair = RepairTentPartActionReciveData.Cast(action_recive_data);
156
157 if( HasTarget() )
158 {
159 string zone;
160 if ( !ctx.Read(zone) )
161 return false;
162
163 recive_data_repair.m_DamageZoneRecived = zone;
164 }
165 return true;
166 }
override bool HasTarget()
Определения ActionRepairTentPart.c:47
proto bool Read(void value_in)

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