0312 设置热更标识 logicversion 和assetversion 两个文件 的内容md5全异或取最后两个字母
| | |
| | | //本地LogicBytes文件和 assetVersions 比较是否需要下载 |
| | | public Dictionary<string, AssetVersion> localAssetVersions = new Dictionary<string, AssetVersion>(); |
| | | |
| | | public static Dictionary<string, AssetVersion> assetVersionsForHotCheck = new Dictionary<string, AssetVersion>(); |
| | | |
| | | public static string versionUrlResult { get; private set; } |
| | | |
| | | /// <summary> |
| | |
| | | var assetVersion = new AssetVersion(lines[i]); |
| | | assetVersions[assetVersion.relativePath] = assetVersion; |
| | | } |
| | | assetVersionsForHotCheck = assetVersions; |
| | | return assetVersions; |
| | | } |
| | | |