示例#1
0
        private void refreshCharacterTab(POEModel currentModel, int tabId, string accountName)
        {
            var charTab = Tabs.First(t => t.i == tabId);

            var characterName       = charTab.Name;
            var characterItems      = currentModel.GetInventory(characterName, true, accountName);
            var characterStashItems = CharacterStashBuilder.GetCharacterStashItems(characterName, characterItems, tabId + 1);

            items.AddRange(characterStashItems);
            refreshItemsByTabTab(tabId);
        }