64 {
65 bool success = true;
66
67 InventoryLocation il = new InventoryLocation;
68
70 {
72 if ( action_data.m_Player.GetInventory().HasInventoryReservation(
m_Seed, il ) )
73 {
74 success = false;
75 }
76 else
77 {
78 action_data.m_Player.GetInventory().AddInventoryReservationEx(
m_Seed, il, GameInventory.c_InventoryReservationTimeoutMS );
79 }
80 }
81
82 if ( success )
83 {
84 if ( il )
85 action_data.m_ReservedInventoryLocations.Insert( il );
86 }
87
88 return success;
89 }
FindInventoryLocationType
flags for searching locations in inventory