//文件路径
std::string CGameRecord::GetFilePath()
{
std::string path("");
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
path.append("/data/data/com.ert/symj.cxs");
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
path.append(CCFileUtils::fullPathFromRelativePath(RESPATH("symj.cxs")));
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
path.append(CCFileUtils::fullPathFromRelativePath(RESPATH("symj.cxs")));
#endif
return path;
}
文件路径配置
最新推荐文章于 2024-02-05 16:41:07 发布