internal void Update(kcsapi_slotitem[] source) { this.droppedItemsCount = 0; this.SlotItems = new MemberTable<SlotItem>(source.Select(x => new SlotItem(x))); //foreach (var ship in this.homeport.Organization.Ships.Values) ship.UpdateSlots(); }
internal void Update(kcsapi_slotitem[] source) { if(this.SlotItems.SetValueRange(source, x => x.api_id, x => new SlotItem(x), (obj, dat) => obj.Update(dat), true)) RaiseSlotItemsChanged(); }
internal void Update(kcsapi_slotitem[] source) { this.droppedItemsCount = 0; this.SlotItems = new MemberTable<SlotItem>(source.Select(x => new SlotItem(x))); }
internal void UpdateSlotItems(kcsapi_slotitem[] source) { this.SlotItems = new MemberTable<SlotItem>(source.Select(x => new SlotItem(x))); }