68 {
69 bool success = true;
70
71 InventoryLocation il = new InventoryLocation;
72
75 {
77 if ( action_data.
m_Player.GetInventory().HasInventoryReservation( targetItem, il) )
78 {
79 success = false;
80 }
81 else
82 {
83 action_data.
m_Player.GetInventory().AddInventoryReservationEx( targetItem, il, GameInventory.c_InventoryReservationTimeoutMS);
84 }
85 }
86
87 if ( success )
88 {
89 if( il )
91 }
92
93 return success;
94 }
class GP5GasMask extends MaskBase ItemBase
FindInventoryLocationType
flags for searching locations in inventory
ref ActionTarget m_Target
ref array< ref InventoryLocation > m_ReservedInventoryLocations