From 78bb53a043b59d3b1a39d7499e89ed5285066605 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 05 一月 2026 17:06:14 +0800
Subject: [PATCH] 0312 增加渠道独立配置 名字包含OPConfig.txt的不做md5下载验证,每次登录都直接拉取
---
Main/System/AssetVersion/AssetVersionUtility.cs | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Main/System/AssetVersion/AssetVersionUtility.cs b/Main/System/AssetVersion/AssetVersionUtility.cs
index c2f3d2f..db5a9d0 100644
--- a/Main/System/AssetVersion/AssetVersionUtility.cs
+++ b/Main/System/AssetVersion/AssetVersionUtility.cs
@@ -83,6 +83,19 @@
}
}
+ public static void OnDownLoadOPConfig(DownloadHotTask task)
+ {
+ if (task.IsDone)
+ {
+ OPConfigConfig.LazyInit();
+ }
+ else
+ {
+ //涓�鐩村皾璇曚笅杞�
+ task.BeginDownload(OnDownLoadOPConfig);
+ Debug.Log("OnDownLoadOPConfig fail - before AssetVersion");
+ }
+ }
public static void GetAssetVersionFile()
{
checkAssetCompleted = false;
--
Gitblit v1.8.0