少年修仙传客户端代码仓库
client_Wu Xijin
2019-06-28 a26651e0add0012c3e5238cb26689d7f12e2e4c7
7595 仙宝奇缘项目版本校验地址加入game参数
2个文件已修改
20 ■■■■■ 已修改文件
System/ClientVersion/VersionConfig.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ClientVersion/VersionUtility.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ClientVersion/VersionConfig.cs
@@ -59,7 +59,16 @@
    }
    [SerializeField] string m_GameId = string.Empty;
    public string gameId { get { return m_GameId; } }
    public string gameId {
        get {
            if (string.IsNullOrEmpty(m_GameId))
            {
                return "xbqy";
            }
            return m_GameId;
        }
    }
    [SerializeField] InstalledAsset m_AssetAccess = InstalledAsset.IngoreDownLoad;
    public InstalledAsset assetAccess { get { return m_AssetAccess; } set { m_AssetAccess = value; } }
System/ClientVersion/VersionUtility.cs
@@ -62,14 +62,7 @@
            tables["branch"] = VersionConfig.Get().branch.ToString();
        }
        if (string.IsNullOrEmpty(VersionConfig.Get().gameId))
        {
            tables["game"] = "xbqy";
        }
        else
        {
            tables["game"] = VersionConfig.Get().gameId;
        }
        tables["game"] = VersionConfig.Get().gameId;
        var url = StringUtility.Contact(VERSION_URL[urlIndex % 2], HttpRequest.HashtablaToString(tables));
        urlIndex++;