From ddcba938b4b7cb150170a07d59b480d0748a476c Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 20 八月 2018 09:55:42 +0800
Subject: [PATCH] 2666 前端】法宝主界面快捷入口显示修改
---
Core/GameEngine/Model/Config/DialogConfig.cs | 62 +++++++++++++++---------------
1 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/Core/GameEngine/Model/Config/DialogConfig.cs b/Core/GameEngine/Model/Config/DialogConfig.cs
index 0a87450..ed4ce45 100644
--- a/Core/GameEngine/Model/Config/DialogConfig.cs
+++ b/Core/GameEngine/Model/Config/DialogConfig.cs
@@ -9,41 +9,41 @@
namespace TableConfig {
- public partial class DialogConfig : ConfigBase {
+ public partial class DialogConfig : ConfigBase {
+
+ public int id { get ; private set ; }
+ public int npcId { get ; private set ; }
+ public string icon { get ; private set; }
+ public string name { get ; private set; }
+ public string content { get ; private set; }
+ public int nextID { get ; private set ; }
+ public int TalkID { get ; private set ; }
- public int id { get ; private set ; }
- public int npcId { get ; private set ; }
- public string icon { get ; private set; }
- public string name { get ; private set; }
- public string content { get ; private set; }
- public int nextID { get ; private set ; }
- public int TalkID { 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;
-
- npcId=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
-
- icon = rawContents[2].Trim();
-
- name = rawContents[3].Trim();
-
- content = rawContents[4].Trim();
-
- nextID=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
-
- TalkID=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
- }
- catch (Exception ex)
- {
- DesignDebug.Log(ex);
+ try
+ {
+ id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
+
+ npcId=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
+
+ icon = rawContents[2].Trim();
+
+ name = rawContents[3].Trim();
+
+ content = rawContents[4].Trim();
+
+ nextID=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
+
+ TalkID=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
+ }
+ catch (Exception ex)
+ {
+ DebugEx.Log(ex);
}
}
--
Gitblit v1.8.0