From ff069b9de2639c1933b97a568c7ed265f02d4fc8 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期一, 26 十一月 2018 14:20:44 +0800
Subject: [PATCH] 4534 【1.3】【前端】组队功能和助战积分优化
---
Core/GameEngine/Model/Config/DungeonOpenTimeConfig.cs | 133 ++++++++++++++++++++++---------------------
1 files changed, 68 insertions(+), 65 deletions(-)
diff --git a/Core/GameEngine/Model/Config/DungeonOpenTimeConfig.cs b/Core/GameEngine/Model/Config/DungeonOpenTimeConfig.cs
index 9b2efed..9ed885c 100644
--- a/Core/GameEngine/Model/Config/DungeonOpenTimeConfig.cs
+++ b/Core/GameEngine/Model/Config/DungeonOpenTimeConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Monday, November 12, 2018
+// [ Date ]: Monday, November 26, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,27 +11,28 @@
public partial class DungeonOpenTimeConfig : ConfigBase {
- public int DataMapID { get ; private set ; }
- public string FBName { get ; private set; }
- public int CanEnterTime { get ; private set ; }
- public int DayTimes { get ; private set ; }
- public int DayReKind { get ; private set ; }
- public int WeekTimes { get ; private set ; }
- public int WeekReKind { get ; private set ; }
- public int FBType { get ; private set ; }
- public int[] RewardRate;
- public int BuyTimesID { get ; private set ; }
- public int ExtraTimesID { get ; private set ; }
- public int DeathTime { get ; private set ; }
- public int GuardPick { get ; private set ; }
- public int DoFight { get ; private set ; }
- public int HelpPoint { get ; private set ; }
- public int DelayTime { get ; private set ; }
- public int Movable { get ; private set ; }
- public int Skillable { get ; private set ; }
- public int SelectPlayerable { get ; private set ; }
- public string ExitDescription { get ; private set; }
- public string PanelImg { get ; private set; }
+ public int DataMapID { get ; private set ; }
+ public string FBName { get ; private set; }
+ public int CanEnterTime { get ; private set ; }
+ public int DayTimes { get ; private set ; }
+ public int DayReKind { get ; private set ; }
+ public int WeekTimes { get ; private set ; }
+ public int WeekReKind { get ; private set ; }
+ public int FBType { get ; private set ; }
+ public int[] RewardRate;
+ public int BuyTimesID { get ; private set ; }
+ public int ExtraTimesID { get ; private set ; }
+ public int DeathTime { get ; private set ; }
+ public int GuardPick { get ; private set ; }
+ public int DoFight { get ; private set ; }
+ public int FBPoint { get ; private set ; }
+ public int HelpPoint { get ; private set ; }
+ public int DelayTime { get ; private set ; }
+ public int Movable { get ; private set ; }
+ public int Skillable { get ; private set ; }
+ public int SelectPlayerable { get ; private set ; }
+ public string ExitDescription { get ; private set; }
+ public string PanelImg { get ; private set; }
public int[] ElixirHint;
public override string getKey()
@@ -42,54 +43,56 @@
public override void Parse() {
try
{
- DataMapID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
-
- FBName = rawContents[1].Trim();
-
- CanEnterTime=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
-
- DayTimes=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
-
- DayReKind=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
-
- WeekTimes=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
-
- WeekReKind=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
-
- FBType=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
-
+ DataMapID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
+
+ FBName = rawContents[1].Trim();
+
+ CanEnterTime=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+
+ DayTimes=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
+
+ DayReKind=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
+
+ WeekTimes=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
+
+ WeekReKind=IsNumeric(rawContents[6]) ? int.Parse(rawContents[6]):0;
+
+ FBType=IsNumeric(rawContents[7]) ? int.Parse(rawContents[7]):0;
+
string[] RewardRateStringArray = rawContents[8].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
RewardRate = new int[RewardRateStringArray.Length];
for (int i=0;i<RewardRateStringArray.Length;i++)
{
int.TryParse(RewardRateStringArray[i],out RewardRate[i]);
- }
-
- BuyTimesID=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0;
-
- ExtraTimesID=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
-
- DeathTime=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;
-
- GuardPick=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
-
- DoFight=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0;
-
- HelpPoint=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
-
- DelayTime=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
-
- Movable=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
-
- Skillable=IsNumeric(rawContents[17]) ? int.Parse(rawContents[17]):0;
-
- SelectPlayerable=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0;
-
- ExitDescription = rawContents[19].Trim();
-
- PanelImg = rawContents[20].Trim();
-
- string[] ElixirHintStringArray = rawContents[21].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
+ }
+
+ BuyTimesID=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0;
+
+ ExtraTimesID=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
+
+ DeathTime=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;
+
+ GuardPick=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
+
+ DoFight=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0;
+
+ FBPoint=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
+
+ HelpPoint=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
+
+ DelayTime=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
+
+ Movable=IsNumeric(rawContents[17]) ? int.Parse(rawContents[17]):0;
+
+ Skillable=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0;
+
+ SelectPlayerable=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0;
+
+ ExitDescription = rawContents[20].Trim();
+
+ PanelImg = rawContents[21].Trim();
+
+ string[] ElixirHintStringArray = rawContents[22].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
ElixirHint = new int[ElixirHintStringArray.Length];
for (int i=0;i<ElixirHintStringArray.Length;i++)
{
--
Gitblit v1.8.0