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
var crest = new EveCrest(); var root = crest.GetRoot(); var theForge = crest.GetRoot().Query(r => r.Regions).Query(r => r.Where(x => x.Name == "The Forge")).First(); theForge.MarketBuyOrders += "?type=https://public-crest.eveonline.com/types/34/"; var allbuys = theForge.Query(c => c.MarketBuyOrders).Items.ToList();
[TestMethod] public async Task GetBuyOrder() { var theForge = await (await (await crest.GetRootAsync()) .QueryAsync(r => r.Regions)) .QueryAsync(x => x.Single(r => r.Name == "The Forge")); theForge.MarketBuyOrders += "?type=https://public-crest.eveonline.com/types/34/"; var orders = await (await theForge.QueryAsync(r => r.MarketBuyOrders)).AllItemsAsync(); }
var orders = crest.GetRoot().Query(r => r.Regions) .Query(x => x.Single(r => r.Name == "The Forge")) .Query(r => r.MarketBuyOrders, "type", "https://public-crest.eveonline.com/types/34/");
var type = crest.GetRoot().Query(r => r.MarketTypes).Items.Single(r => r.Type.Id == 34);var orders = crest.GetRoot().Query(r => r.Regions) .Query(x => x.Single(r => r.Name == "The Forge")) .Query(r => r.MarketBuyOrders, "type", type);
byte[] charImg = img.GetCharacterPortraitData(characterList[0].CharacterId, eZet.EveLib.EveXmlModule.Image.CharacterPortraitSize.X64);charPortrait.Source = ByteToImage(charImg);
string savedstuff= IEveLibCache.LoadAsync(Uri.uri);