From 3016d74e293b0ed97c32dc0775a70bab82678ccd Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 25 九月 2018 19:34:04 +0800
Subject: [PATCH] 3687 天赋功能
---
Core/GameEngine/Model/Config/TalentConfig.cs | 32 +++++++++++++-------------------
1 files changed, 13 insertions(+), 19 deletions(-)
diff --git a/Core/GameEngine/Model/Config/TalentConfig.cs b/Core/GameEngine/Model/Config/TalentConfig.cs
index 6d406d9..6b6e713 100644
--- a/Core/GameEngine/Model/Config/TalentConfig.cs
+++ b/Core/GameEngine/Model/Config/TalentConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Tuesday, August 21, 2018
+// [ Date ]: Tuesday, September 25, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,38 +11,32 @@
public partial class TalentConfig : ConfigBase {
- public int SkillId { get ; private set ; }
+ public int skillId { get ; private set ; }
+ public int type { get ; private set ; }
public int series { get ; private set ; }
- public int talentType { get ; private set ; }
- public int SkillLv { get ; private set ; }
- public int property { get ; private set ; }
- public int propertyValue { get ; private set ; }
- public int seriesCondition { get ; private set ; }
- public int point { get ; private set ; }
+ public int level { get ; private set ; }
+ public int requireSeries { get ; private set ; }
+ public int requireSeriesPoint { get ; private set ; }
public override string getKey()
{
- return SkillId.ToString();
+ return skillId.ToString();
}
public override void Parse() {
try
{
- SkillId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
+ skillId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
- series=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
+ type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
- talentType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+ series=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
- SkillLv=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
+ level=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
- property=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
+ requireSeries=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
- propertyValue=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
-
- seriesCondition=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
-
- point=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
+ requireSeriesPoint=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
}
catch (Exception ex)
{
--
Gitblit v1.8.0