From 95024f422d4bd8e9954a4ea7b17833ab4f337003 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 28 八月 2018 15:10:04 +0800
Subject: [PATCH] 2960 抢Boss活动
---
Core/GameEngine/Model/Config/BossInfoConfig.cs | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/Core/GameEngine/Model/Config/BossInfoConfig.cs b/Core/GameEngine/Model/Config/BossInfoConfig.cs
index 99e29c5..300daf1 100644
--- a/Core/GameEngine/Model/Config/BossInfoConfig.cs
+++ b/Core/GameEngine/Model/Config/BossInfoConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: 绗簩涓栫晫
-// [ Date ]: Saturday, January 06, 2018
+// [ Date ]: Tuesday, August 28, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,8 +11,9 @@
public partial class BossInfoConfig : ConfigBase {
- public int NPCID { get ; private set ; }
- public int MapID { get ; private set ; }
+ public int NPCID { get ; private set ; }
+ public int MapID { get ; private set ; }
+ public int LineID { get ; private set ; }
public int StoneNPCID { get ; private set ; }
public override string getKey()
@@ -23,11 +24,13 @@
public override void Parse() {
try
{
- NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
-
- MapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
-
- StoneNPCID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+ NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
+
+ MapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
+
+ LineID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+
+ StoneNPCID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
}
catch (Exception ex)
{
--
Gitblit v1.8.0