From 2bfcee1e0ac2fb7a4bfacd552d3a5053c614dccf Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 01 十一月 2018 11:17:22 +0800
Subject: [PATCH] 3335 资源下载优先级别更新。
---
Core/GameEngine/Model/Config/PriorBundleConfig.cs | 53 ++++++++++++++++++++++++++++-------------------------
1 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/Core/GameEngine/Model/Config/PriorBundleConfig.cs b/Core/GameEngine/Model/Config/PriorBundleConfig.cs
index 7cf9998..2ad589e 100644
--- a/Core/GameEngine/Model/Config/PriorBundleConfig.cs
+++ b/Core/GameEngine/Model/Config/PriorBundleConfig.cs
@@ -1,26 +1,27 @@
-锘�//--------------------------------------------------------
-// [Author]: 绗簩涓栫晫
-// [ Date ]: Wednesday, July 25, 2018
-//--------------------------------------------------------
-
-using UnityEngine;
-using System;
-
-namespace TableConfig {
-
-
+锘�//--------------------------------------------------------
+// [Author]: 绗簩涓栫晫
+// [ Date ]: Thursday, November 01, 2018
+//--------------------------------------------------------
+
+using UnityEngine;
+using System;
+
+namespace TableConfig {
+
+
public partial class PriorBundleConfig : ConfigBase {
public int id { get ; private set ; }
public string AssetABName { get ; private set; }
public int AssetType { get ; private set ; }
-
+ public int Prior { get ; private set ; }
+
public override string getKey()
{
return id.ToString();
- }
-
- public override void Parse() {
+ }
+
+ public override void Parse() {
try
{
id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
@@ -28,17 +29,19 @@
AssetABName = rawContents[1].Trim();
AssetType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+
+ Prior=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
}
catch (Exception ex)
{
DebugEx.Log(ex);
- }
- }
-
- }
-
-}
-
-
-
-
+ }
+ }
+
+ }
+
+}
+
+
+
+
--
Gitblit v1.8.0