c++ - cocos2d-x 3.1 serialize int to string map -


i store leader board data (name-score mapping) in std::multimap. need serialize in file , deserialize show player. how using cocos2d-x 3.1? there way or should use boost?

there no default way serializing objects, instead can create dictionary , set keys converting them string , write plist file. can check fileutilstest more details of reading , writing game data.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -