コード例 #1
0
 private void refresh()
 {
     this.Invent      = ApplicationState.Model.GetInventory(Character).Where(i => i.inventoryId == "MainInventory").ToList();
     inventByLocation = Invent.ToDictionary(item => new Tuple <int, int>(item.X, item.Y));
     borderByLocation = new Dictionary <Tuple <int, int>, Border>();
     render();
 }
コード例 #2
0
ファイル: Inventory.xaml.cs プロジェクト: zocke1r/Procurement
 private void refresh(string accountName)
 {
     this.Invent      = ApplicationState.Model.GetInventory(Character, false, accountName).Where(i => i.InventoryId == "MainInventory").ToList();
     inventByLocation = Invent.ToDictionary(item => new Tuple <int, int>(item.X, item.Y));
     render();
 }