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

◆ ReadFromContext()

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

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

214 {
215 if(!action_recive_data)
216 {
217 action_recive_data = new AdvDetachMagActionReciveData;
218 }
219
220 if(!super.ReadFromContext( ctx, action_recive_data ))
221 return false;
222
223 AdvDetachMagActionReciveData recive_data_dm;
224 recive_data_dm = AdvDetachMagActionReciveData.Cast( action_recive_data );
225
226 recive_data_dm.m_ilWeapon = new InventoryLocation;
227 recive_data_dm.m_ilMagazine = new InventoryLocation;
228
229 if(!recive_data_dm.m_ilWeapon.ReadFromContext(ctx))
230 return false;
231
232 if(!recive_data_dm.m_ilMagazine.ReadFromContext(ctx))
233 return false;
234
235 return true;
236 }
ref InventoryLocation m_ilWeapon
Определения FirearmActionDetachMagazine.c:138
ref InventoryLocation m_ilMagazine
Определения FirearmActionDetachMagazine.c:139
bool ReadFromContext(ParamsReadContext ctx)
Определения InventoryLocation.c:296

Перекрестные ссылки AdvDetachMagActionReciveData::m_ilMagazine, AdvDetachMagActionReciveData::m_ilWeapon и InventoryLocation::ReadFromContext().