So I have a Dictionary I want to save and load from a config. That Dictionary is composed of a string key and a class as it's value. The class itself derives from List and contains instances of another custom class..
Any way to do this painlessly or do I need to convert all that jazz to string?
[DOUBLEPOST=1436683210,1436672477][/DOUBLEPOST]Err.. so I managed to load the thing but it was a total pain to do it. Converted the config value to a Newtonsoft json object and reconstructed the whole thing instance-per-instance, property-by-property in a pretty much hardcoded way.. There must be an easier way :|
Saving/loading a Dictionary to config
Discussion in 'Rust Development' started by Deicide666ra, Jul 12, 2015.
