From adec40e7f8774712eadb0c3845e18d5a16dbc792 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 03 九月 2018 15:26:32 +0800
Subject: [PATCH] 3032【前端】宗门试练兑换界面优化
---
Core/GameEngine/Model/Config/TrialExchangeConfig.cs | 75 +++++++++++++++++++------------------
1 files changed, 39 insertions(+), 36 deletions(-)
diff --git a/Core/GameEngine/Model/Config/TrialExchangeConfig.cs b/Core/GameEngine/Model/Config/TrialExchangeConfig.cs
index 49855c9..5fdbfa1 100644
--- a/Core/GameEngine/Model/Config/TrialExchangeConfig.cs
+++ b/Core/GameEngine/Model/Config/TrialExchangeConfig.cs
@@ -1,16 +1,16 @@
-锘�//--------------------------------------------------------
-// [Author]: 绗簩涓栫晫
-// [ Date ]: Monday, August 20, 2018
-//--------------------------------------------------------
-
-using UnityEngine;
-using System;
-
-namespace TableConfig {
-
-
- public partial class TrialExchangeConfig : ConfigBase {
-
+锘�//--------------------------------------------------------
+// [Author]: 绗簩涓栫晫
+// [ Date ]: Monday, September 03, 2018
+//--------------------------------------------------------
+
+using UnityEngine;
+using System;
+
+namespace TableConfig {
+
+
+ public partial class TrialExchangeConfig : ConfigBase {
+
public int id { get ; private set ; }
public int[] exchangeItemID;
public int exchangeItemCount { get ; private set ; }
@@ -18,15 +18,16 @@
public int tokenId { get ; private set ; }
public int tokenCount { get ; private set ; }
public string description { get ; private set; }
-
- public override string getKey()
- {
- return id.ToString();
- }
-
- public override void Parse() {
- try
- {
+ public string chestDesc { get ; private set; }
+
+ public override string getKey()
+ {
+ return id.ToString();
+ }
+
+ public override void Parse() {
+ try
+ {
id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
string[] exchangeItemIDStringArray = rawContents[1].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
@@ -45,17 +46,19 @@
tokenCount=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
description = rawContents[6].Trim();
- }
- catch (Exception ex)
- {
- DebugEx.Log(ex);
- }
- }
-
- }
-
-}
-
-
-
-
+
+ chestDesc = rawContents[7].Trim();
+ }
+ catch (Exception ex)
+ {
+ DebugEx.Log(ex);
+ }
+ }
+
+ }
+
+}
+
+
+
+
--
Gitblit v1.8.0