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

◆ ReadFromContext()

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

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

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

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