From eda22bcd9683f3a94e0744da60d23808272c627f Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 13 八月 2018 17:28:00 +0800
Subject: [PATCH] 1528 冰晶矿脉里面角色死亡复活后怪物血条位置显示异常
---
Core/GameEngine/Model/Config/GuideConfig.cs | 73 +++++++++++++++++++-----------------
1 files changed, 38 insertions(+), 35 deletions(-)
diff --git a/Core/GameEngine/Model/Config/GuideConfig.cs b/Core/GameEngine/Model/Config/GuideConfig.cs
index 15554ae..e2b025e 100644
--- a/Core/GameEngine/Model/Config/GuideConfig.cs
+++ b/Core/GameEngine/Model/Config/GuideConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Thursday, June 21, 2018
+// [ Date ]: Saturday, August 11, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -9,49 +9,52 @@
namespace TableConfig {
- public partial class GuideConfig : ConfigBase {
+ public partial class GuideConfig : ConfigBase {
+
+ public int ID { get ; private set ; }
+ public int Type { get ; private set ; }
+ public int TriggerType { get ; private set ; }
+ public int Condition { get ; private set ; }
+ public int PreGuideId { get ; private set ; }
+ public int[] Steps;
+ public int CanSkip { get ; private set ; }
+ public int RemoveWhenOtherGuide { get ; private set ; }
+ public int CannotCompleteByClick { get ; private set ; }
- public int ID { get ; private set ; }
- public int Type { get ; private set ; }
- public int TriggerType { get ; private set ; }
- public int Condition { get ; private set ; }
- public int PreGuideId { get ; private set ; }
- public int[] Steps;
- public int CanSkip { get ; private set ; }
- public int RemoveWhenOtherGuide { get ; private set ; }
-
- public override string getKey()
- {
- return ID.ToString();
+ public override string getKey()
+ {
+ return ID.ToString();
}
public override void Parse() {
- try
- {
- ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
-
- Type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
-
- TriggerType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
-
- Condition=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
-
- PreGuideId=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
-
+ try
+ {
+ ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
+
+ Type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
+
+ TriggerType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+
+ Condition=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
+
+ PreGuideId=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
+
string[] StepsStringArray = rawContents[5].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
Steps = new int[StepsStringArray.Length];
for (int i=0;i<StepsStringArray.Length;i++)
{
int.TryParse(StepsStringArray[i],out Steps[i]);
- }
-
- CanSkip=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
-
- RemoveWhenOtherGuide=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
- }
- catch (Exception ex)
- {
- DesignDebug.Log(ex);
+ }
+
+ CanSkip=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
+
+ RemoveWhenOtherGuide=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
+
+ CannotCompleteByClick=IsNumeric(rawContents[8]) ? int.Parse(rawContents[8]):0;
+ }
+ catch (Exception ex)
+ {
+ DesignDebug.Log(ex);
}
}
--
Gitblit v1.8.0