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

◆ ReadFromContext()

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

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

128 {
129 if(!action_recive_data)
130 {
131 action_recive_data = new RepairTentActionReciveData;
132 }
133 super.ReadFromContext(ctx, action_recive_data);
134 RepairTentActionReciveData recive_data_repair = RepairTentActionReciveData.Cast(action_recive_data);
135
136 if( HasTarget() )
137 {
138 string zone;
139 if ( !ctx.Read(zone) )
140 return false;
141
142 recive_data_repair.m_DamageZoneRecived = zone;
143 }
144 return true;
145 }
override bool HasTarget()
Определения ActionRepairTent.c:47
string m_DamageZoneRecived
Определения ActionRepairTent.c:3
proto bool Read(void value_in)

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