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
public async Task AddContact() { var contact = (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).Contacts.Create(); contact.Contact.Href = "https://crest-tq.eveonline.com/alliances/99000006/"; contact.Contact.Name = "test"; contact.Contact.Id = 99000006; contact.ContactType = "Alliance"; contact.Standing = 0; await contact.Save();}
public async Task DeleteContact() { var contacts = await (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).QueryAsync(r => r.Contacts); var contact = contacts.Items.Single(r => r.Contact.Id == 99000006); contact.Contact.Standing = 5; contact.Save();
public async Task DeleteContact() { var contacts = await (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).QueryAsync(r => r.Contacts); var contact = contacts.Items.Single(r => r.Contact.Id == 99000006); contact.Delete();