From 61b5058b990da2fe7f4b76e1e61b817d4f511432 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 30 八月 2018 10:28:32 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Core/GameEngine/Model/Config/BossInfoConfig.cs | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/Core/GameEngine/Model/Config/BossInfoConfig.cs b/Core/GameEngine/Model/Config/BossInfoConfig.cs
index 99e29c5..eb8013e 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,10 @@
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 RelatedType { get ; private set ; }
+ public int RelatedID { get ; private set ; }
public int StoneNPCID { get ; private set ; }
public override string getKey()
@@ -23,11 +25,15 @@
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;
+
+ RelatedType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
+
+ RelatedID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
+
+ StoneNPCID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
}
catch (Exception ex)
{
--
Gitblit v1.8.0