These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

ContactList ContactTypeID

Author
Reznoriam
Iron Taxhole
#1 - 2013-10-27 21:26:48 UTC
So I've been looking all over for some documentation on this particular field in the ContactList API XML and I haven't been able to find anything that might identify what exactly this field is.

All I have been able to figure out from profiling the information is that a contact for a corporation seems to have a ContactTypeID of 2, and alliance has a contact type ID of 16159, and an individual character on the list has a ContactTypeID ranging randomly between 1372 in 1386 (in the sample data I am testing with).

Is there any more definitive answer regarding decoding this rather cryptic field somewhere?
Rob Crowley
State War Academy
#2 - 2013-10-27 21:57:23 UTC
I don't know any documentation for that field, but at first glance it looks like those different ContactTypeIDs for characters are bloodlines.
ItsmeHcK1
Immortalis Inc.
Shadow Cartel
#3 - 2013-10-29 19:42:22 UTC
The guy above me is right.
Here's how I define it in EVE.Net:
Quote:
public static readonly int[] characterTypes = { 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386 };
public static readonly int corporationType = 2;
public static readonly int allianceType = 16159;

The character types are races etc.
Reznoriam
Iron Taxhole
#4 - 2013-10-30 23:21:13 UTC
Oh, I'm actually using your library. I'm pretty green as a programmer though, I was trying to import a contact list from a character API. I was interpreting this in the data layer I'm building. Is there a better way to decode that before I export it to the database?
Reznoriam
Iron Taxhole
#5 - 2013-10-31 01:49:47 UTC
Ended up making a dictionary and embedding it in the EVEConstants class to make it simpler. Awesome that all the values were already there!