I need to get a content from a file in which CCUserDefault() stores its data. Is there a way to get it? I guess my storage is corrupted so I need to check its content.
I’ve tried following:
if ( cocos2d::CCUserDefault::sharedUserDefault()->isXMLFileExist() ) {
cocos2d::CCLog( "XML exists!" );
} else {
cocos2d::CCLog( "XML not exists!" );
}
So I get “XML not exists” on Android and iOS but a user setting successfully loads. Where CCUserDefault() stores its data?