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
Post a Comment