예제 #1
0
 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();
 }
예제 #2
0
 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();
 }
예제 #3
0
		internal void Update(kcsapi_slotitem[] source)
		{
			this.droppedItemsCount = 0;
			this.SlotItems = new MemberTable<SlotItem>(source.Select(x => new SlotItem(x)));
		}
예제 #4
0
 internal void UpdateSlotItems(kcsapi_slotitem[] source)
 {
     this.SlotItems = new MemberTable<SlotItem>(source.Select(x => new SlotItem(x)));
 }