From 9f427abb586f9d212bfa73d8be1c4607de840fac Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 11 八月 2018 14:55:09 +0800
Subject: [PATCH] 2192 Debug文件下载
---
System/ClientVersion/VersionConfig.cs | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/System/ClientVersion/VersionConfig.cs b/System/ClientVersion/VersionConfig.cs
index f834b92..a82604d 100644
--- a/System/ClientVersion/VersionConfig.cs
+++ b/System/ClientVersion/VersionConfig.cs
@@ -25,7 +25,18 @@
public string clientPackageFlag { get { return m_ClientPackageFlag; } }
[SerializeField] int m_Branch = 0;
- public int branch { get { return m_Branch; } }
+ public int branch {
+ get {
+ if (DebugUtility.Instance.debugAccount && DebugUtility.Instance.debugBranch >= 0)
+ {
+ return DebugUtility.Instance.debugBranch;
+ }
+ else
+ {
+ return m_Branch;
+ }
+ }
+ }
[SerializeField] InstalledAsset m_AssetAccess = InstalledAsset.IngoreDownLoad;
public InstalledAsset assetAccess { get { return m_AssetAccess; } set { m_AssetAccess = value; } }
--
Gitblit v1.8.0