Articy Forum


https://www.articy.com:443/forum/

How to treat exported IDs?

https://www.articy.com:443/forum/viewtopic.php?f=33&t=1830

Page 1 of 1

How to treat exported IDs?

Posted: Wed 15. Jul 2015, 15:38
by steamroller
So when i export an xml file, the objects within are identified by Id:

<ObjectTemplateDefinition Id="0x0100000100000DD5">

Whats the best way to handle that id when writing a parser. Should i just treat it like a string or convert it to some other data type?

Re: How to treat exported IDs?

Posted: Thu 16. Jul 2015, 10:40
by [Articy] Martin Gebske
Hi steamroller,

the best way is to parse it into an unsigned int64 ("ulong" in C#).
String could work, but it's very bulky for this usage.

I hope this helps.

Cheers,
-Martin

All times are UTC
Page 1 of 1