These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
[EveLib] A .NET library for EveXML, CREST, EveCentral, and more
Developer of EveLib and EveAuthUtility
Character character = ckey.Characters.Single(c => c.CharacterName == "KillaGouge");var inventory = character.GetAssetList(); var lastShip = character.GetCharacterInfo().Result.ShipTypeId;
inventory.Result.Items.Where(item => item.ItemId == lastShip);
var lastShip = character.GetCharacterInfo().Result.ShipTypeId;var lastShipContainer = inventory.Where(item => item.TypeId == lastShip);foreach (var item in lastShipContainer){ foreach (var subItem in item.Items) { resutlLabel.Text += GetItem(subItem.TypeId).Name; }}
inventory.Where(item => item.TypeId == character.GetCharacterInfo().Result.ShipTypeId).ToList().ForEach(subItem => resutlLabel.Text = string.Concat(resutlLabel.Text, GetItem(subItem.TypeId).Name));
var lastShip = character.GetCharacterInfo().Result.ShipTypeId; var lastShipContainer = inventory.Where(item => item.TypeId == lastShip); foreach (var item in lastShipContainer) { foreach (var subItem in item.Items) { var itemInfo = GetItem(subItem.TypeId); resutlLabel.Text += itemInfo.Name; } }