From 25012b3553affc493ff502799c65a9edcb51b088 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 20 八月 2018 14:24:06 +0800
Subject: [PATCH] 2691 【前端】前端境界NPC配置新增读取列
---
Core/GameEngine/Model/Config/NPCConfig.cs | 53 ++++++++++++++++++++++++++++-------------------------
1 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/Core/GameEngine/Model/Config/NPCConfig.cs b/Core/GameEngine/Model/Config/NPCConfig.cs
index caa8f81..330dfd7 100644
--- a/Core/GameEngine/Model/Config/NPCConfig.cs
+++ b/Core/GameEngine/Model/Config/NPCConfig.cs
@@ -1,14 +1,14 @@
-锘�//--------------------------------------------------------
-// [Author]: 绗簩涓栫晫
-// [ Date ]: Thursday, August 02, 2018
-//--------------------------------------------------------
-
-using UnityEngine;
-using System;
-
-namespace TableConfig {
-
-
+锘�//--------------------------------------------------------
+// [Author]: 绗簩涓栫晫
+// [ Date ]: Monday, August 20, 2018
+//--------------------------------------------------------
+
+using UnityEngine;
+using System;
+
+namespace TableConfig {
+
+
public partial class NPCConfig : ConfigBase {
public int NPCID { get ; private set ; }
@@ -68,13 +68,14 @@
public int LifeBarCount { get ; private set ; }
public int NPCEffect { get ; private set ; }
public int NPCSpeakID { get ; private set ; }
-
+ public int ClientRealm { get ; private set ; }
+
public override string getKey()
{
return NPCID.ToString();
- }
-
- public override void Parse() {
+ }
+
+ public override void Parse() {
try
{
NPCID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
@@ -195,17 +196,19 @@
NPCEffect=IsNumeric(rawContents[55]) ? int.Parse(rawContents[55]):0;
NPCSpeakID=IsNumeric(rawContents[56]) ? int.Parse(rawContents[56]):0;
+
+ ClientRealm=IsNumeric(rawContents[57]) ? int.Parse(rawContents[57]):0;
}
catch (Exception ex)
{
DebugEx.Log(ex);
- }
- }
-
- }
-
-}
-
-
-
-
+ }
+ }
+
+ }
+
+}
+
+
+
+
--
Gitblit v1.8.0