Jump to content
  • Advertisement
Sign in to follow this  
Thekill473

Xml Serialization

This topic is 2207 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Before i start a big post on my issue, Is there any reason whatsoever that some variables would be excluded from being written in xml serialization in xna.

Share this post


Link to post
Share on other sites
Advertisement
because I've got variables that aren't null and all have values right up unto and even after serialization but in the file only some of the variables are written. And i cant find anything the written variables have in common.

Share this post


Link to post
Share on other sites
OK Ive figured it. Annoyingly it goes through the properties instead of the actual variables so if the property doesn't have a set method it won't right.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!