コード例 #1
0
ファイル: EquipMeGui.cs プロジェクト: finedandy/EquipMe
 private void button4_Click(object sender, EventArgs e)
 {
     foreach (var item in StyxWoW.Me.Inventory.Equipped.Items)
     {
         if (item == null)
         {
             continue;
         }
         EquipMe.Log("Equipped: {0}, score: {1}, inv type: {2}, wep class: {3}", item.Name, EquipMe.CalcScore(item), item.ItemInfo.InventoryType, item.ItemInfo.WeaponClass);
     }
     foreach (var item in StyxWoW.Me.BagItems)
     {
         if (item == null)
         {
             continue;
         }
         EquipMe.Log("Bag: {0}, score: {1}, inv type: {2}, wep class: {3}", item.Name, EquipMe.CalcScore(item), item.ItemInfo.InventoryType, item.ItemInfo.WeaponClass);
     }
 }