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

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

c# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -