From 2ba7ca87a5a388ff8a5aa6e710c5ce5a8514a03b Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期一, 15 十月 2018 21:17:26 +0800
Subject: [PATCH] 4179 【前端】魂石配置表增加丹药秘方品阶字段
---
Core/GameEngine/Model/Config/AttrFruitConfig.cs | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/Core/GameEngine/Model/Config/AttrFruitConfig.cs b/Core/GameEngine/Model/Config/AttrFruitConfig.cs
index 285f147f..def086f 100644
--- a/Core/GameEngine/Model/Config/AttrFruitConfig.cs
+++ b/Core/GameEngine/Model/Config/AttrFruitConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Wednesday, August 08, 2018
+// [ Date ]: Monday, October 15, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -9,22 +9,23 @@
namespace TableConfig {
- public partial class AttrFruitConfig : ConfigBase {
-
+ public partial class AttrFruitConfig : ConfigBase {
+
public int ID { get ; private set ; }
public int FuncID { get ; private set ; }
public int MaxUseCnt { get ; private set ; }
public int RecycleExp { get ; private set ; }
public int Sort { get ; private set ; }
+ public int RecipeLv { get ; private set ; }
- public override string getKey()
- {
- return ID.ToString();
+ public override string getKey()
+ {
+ return ID.ToString();
}
public override void Parse() {
- try
- {
+ try
+ {
ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
FuncID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
@@ -34,10 +35,12 @@
RecycleExp=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
Sort=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
- }
- catch (Exception ex)
- {
- DebugEx.Log(ex);
+
+ RecipeLv=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
+ }
+ catch (Exception ex)
+ {
+ DebugEx.Log(ex);
}
}
--
Gitblit v1.8.0