Esempio n. 1
0
        private void additionalPlayerStatsButton_Click(object sender, EventArgs e)
        {
            var i       = Array.FindIndex(activeSaveFile.GetStatsMap().Keys, x => x.EntityHash == 1);
            var details = new ItemDetails();

            details.LoadStatsOnly(activeSaveFile.GetStatsMap().Values[i].Seed, activeSaveFile, "Player");
        }
Esempio n. 2
0
 private void inventoryListView_DoubleClick(object sender, EventArgs e)
 {
     if (inventoryListView.SelectedIndices.Count > 0)
     {
         var activeDetails = new ItemDetails();
         activeDetails.LoadItem((ItemData)inventoryListView.SelectedItems[0].Tag, activeSaveFile, RefreshInventory);
     }
 }
Esempio n. 3
0
        private void resolvedItemLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var details = new ItemDetails();

            if (activeNode.ItemTdbId.GameName.Length > 0)
            {
                details.LoadStatsOnly(activeNode.Header.Seed, activeSaveFile, activeNode.ItemTdbId.GameName);
            }
            else
            {
                details.LoadStatsOnly(activeNode.Header.Seed, activeSaveFile, activeNode.ItemTdbId.Name);
            }
        }