三国卡牌客户端基础资源仓库
yyl
2026-09-01 4ca5209cf92a3c0a23e09c89a9819b541d391729
merge3
2个文件已修改
45 ■■■■■ 已修改文件
Assets/Launch/Launch.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Launch/Manager/LocalResManager.cs 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Launch/Launch.cs
@@ -650,12 +650,8 @@
        "UnityEngine.JSONSerializeModule.dll.bytes",
        "UnityEngine.UI.dll.bytes",
        "YooAsset.dll.bytes",
#if UNITY_WEBGL
    #if DOUYINMINIGAME
        // 抖音小游戏文件系统:TiktokFileSystem 泛型方法需补AOT元数据(与 AOT_DLL_NAMES 一致)
        "YooAsset.MiniGame.dll.bytes",
    #endif
#endif
        "mscorlib.dll.bytes",
        "spine-csharp.dll.bytes",
    };
Assets/Launch/Manager/LocalResManager.cs
@@ -148,34 +148,34 @@
            case "ryzj":
                VERSION_URL = new string[]
                {
                    "https://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php?",
                    "https://106.55.151.92:11000/center/appversion_new.php?",
                    "http://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php?",
                    "http://106.55.151.92:11000/center/appversion_new.php?",
                };
                break;
            case "sghy":
                VERSION_URL = new string[]
                {
                    "https://sghycenter.funimpactgames.com:11000/center/appversion_new.php?",
                    "https://47.250.213.171:11000/center/appversion_new.php?",
                    "http://sghycenter.funimpactgames.com:11000/center/appversion_new.php?",
                    "http://47.250.213.171:11000/center/appversion_new.php?",
                };
                break;
            case "xssgyh":
                VERSION_URL = new string[]
                {
                    "https://xssgyhcenter.secondworld.net.cn:11000/center/appversion_new.php/?",
                    "http://xssgyhcenter.secondworld.net.cn:11000/center/appversion_new.php/?",
                };
                break;
            case "xssgdy":
                VERSION_URL = new string[]
                {
                    "https://xssgdycenter.secondworld.net.cn:11000/center/appversion_new.php/?",
                    "http://xssgdycenter.secondworld.net.cn:11000/center/appversion_new.php/?",
                };
                break;
            default:
                VERSION_URL = new string[]
                {
                    "https://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php?",
                    "https://106.55.151.92:11000/center/appversion_new.php?",
                    "http://xssgcenter.secondworld.net.cn:11000/center/appversion_new.php?",
                    "http://106.55.151.92:11000/center/appversion_new.php?",
                };
                break;
        }
@@ -185,7 +185,7 @@
        {
            VERSION_URL = new string[]
            { 
                "https://gamecenter.secondworld.net.cn/center/appversion_new.php?",
                "http://gamecenter.secondworld.net.cn/center/appversion_new.php?",
            };
        }
#endif
@@ -911,23 +911,23 @@
            case "test":
            case "xssg":
            case "ryzj":
                url = "https://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
                url = "http://xssgcenter.secondworld.net.cn/center/eventreport.php?";
                break;
            case "sghy":
                url = "https://sghycenter.funimpactgames.com:11000/center/eventreport.php?";
                url = "http://sghycenter.funimpactgames.com/center/eventreport.php?";
                break;
            case "xssgyh":
                url = "https://xssgyhcenter.secondworld.net.cn:11000/center/eventreport.php?";
                url = "http://xssgyhcenter.secondworld.net.cn/center/eventreport.php?";
                break;
            case "xssgdy":
                url = "https://xssgdycenter.secondworld.net.cn:11000/center/eventreport.php?";
                url = "http://xssgdycenter.secondworld.net.cn/center/eventreport.php?";
                break;
            default:
                url = "https://xssgcenter.secondworld.net.cn:11000/center/eventreport.php?";
                url = "http://xssgcenter.secondworld.net.cn/center/eventreport.php?";
                break;
        }
#if TEST_URL
        url = "https://gamecenter.secondworld.net.cn:11000/center/eventreport.php?";
        url = "http://gamecenter.secondworld.net.cn/center/eventreport.php?";
#endif
    }
@@ -1004,21 +1004,14 @@
    {
#if UNITY_IOS
        return UnityEngine.iOS.Device.advertisingIdentifier;
#elif UNITY_WEBGL
#elif UNITY_WEBGL && !UNITY_EDITOR
        return GetWebGLDeviceId();
#else
        return UnityEngine.SystemInfo.deviceUniqueIdentifier;
#endif
    }
    public static string GetWebGLDeviceId()
    {
#if UNITY_WEBGL && !UNITY_EDITOR
        return GetOrCreateWebGLDeviceId();
#else
        return UnityEngine.SystemInfo.deviceUniqueIdentifier;
#endif
    }
    public static string GetDeviceOSLevel()
    {