Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

Serializing and de-serializing dictionary

$
0
0

hi,
I registered a class and methods that should serialize and de-serialize a angelscript dictionary object (addon) from C++.
In order to do that, I should be able to iterate on dictionary structure, identify each item type, and get it's value. And then recurse if an item is a dictionary,. That's the goal.

For serialization (which I will think better after) I will need to create the objects used in angelscript and insert them into dictionary from C++ side.

I'm having trouble to manipulate dictionary class using CScriptDictionary::CIterator at C++ side.
Some constructors methods are protected …


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>