internal void Update(Ship rpShip) { EquipmentGroupByShip rShip; if (!r_Ships.TryGetValue(rpShip, out rShip)) r_Ships.Add(rpShip, rShip = new EquipmentGroupByShip(rpShip)); rShip.Count++; }
internal void Update(Ship rpShip) { EquipmentGroupByShip rShip; if (!r_Ships.TryGetValue(rpShip, out rShip)) { r_Ships.Add(rpShip, rShip = new EquipmentGroupByShip(rpShip)); } rShip.Count++; }