EDDiscovery / EliteDangerousCore

Elite Dangerous specific submodule
Apache License 2.0
2 stars 18 forks source link

Handle old stats, also bug in missions? #90

Closed Eahlstan closed 2 years ago

robbyxp1 commented 2 years ago

The better way to deal with this is for this is to use double? on all properties which may or may not be there, and use DoubleNull() to read them.

If they are not there, you get a null, if they are, you get the value

Fieldbuilder does not print fields which are null, so you can just list all the properties knowing if its null it won't appear!

Eahlstan commented 2 years ago

Your "do a date check" was a trap 😝

robbyxp1 commented 2 years ago

Not a trap, a misunderstanding of what you meant!