Example #1
0
 public Bag GetBagByInventoryId(InventoryBagId id)
 {
     Update();
     return(m_Bags.TryGetValue(id, out var bag) ? bag : null);
 }
Example #2
0
 public Bag this[InventoryBagId id] => GetBagByInventoryId(id);