From 7e668d421d77874733dba9794d10017cf56beffa Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期一, 03 九月 2018 21:34:32 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Core/GameEngine/Model/Config/TreasurePrivilegeConfig.cs | 75 +++++++++++++++++++------------------
1 files changed, 39 insertions(+), 36 deletions(-)
diff --git a/Core/GameEngine/Model/Config/TreasurePrivilegeConfig.cs b/Core/GameEngine/Model/Config/TreasurePrivilegeConfig.cs
index e1880ae..9381ccb 100644
--- a/Core/GameEngine/Model/Config/TreasurePrivilegeConfig.cs
+++ b/Core/GameEngine/Model/Config/TreasurePrivilegeConfig.cs
@@ -1,16 +1,16 @@
-锘�//--------------------------------------------------------
-// [Author]: 绗簩涓栫晫
-// [ Date ]: Thursday, August 16, 2018
-//--------------------------------------------------------
-
-using UnityEngine;
-using System;
-
-namespace TableConfig {
-
-
- public partial class TreasurePrivilegeConfig : ConfigBase {
-
+锘�//--------------------------------------------------------
+// [Author]: 绗簩涓栫晫
+// [ Date ]: Monday, September 03, 2018
+//--------------------------------------------------------
+
+using UnityEngine;
+using System;
+
+namespace TableConfig {
+
+
+ public partial class TreasurePrivilegeConfig : ConfigBase {
+
public int PrivilegeID { get ; private set ; }
public string Description { get ; private set; }
public string EffectValue { get ; private set; }
@@ -23,15 +23,16 @@
public string Icon { get ; private set; }
public string Name { get ; private set; }
public string targetDescription { get ; private set; }
-
- public override string getKey()
- {
- return PrivilegeID.ToString();
- }
-
- public override void Parse() {
- try
- {
+ public int effectId { get ; private set ; }
+
+ public override string getKey()
+ {
+ return PrivilegeID.ToString();
+ }
+
+ public override void Parse() {
+ try
+ {
PrivilegeID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
Description = rawContents[1].Trim();
@@ -60,17 +61,19 @@
Name = rawContents[10].Trim();
targetDescription = rawContents[11].Trim();
- }
- catch (Exception ex)
- {
- DebugEx.Log(ex);
- }
- }
-
- }
-
-}
-
-
-
-
+
+ effectId=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
+ }
+ catch (Exception ex)
+ {
+ DebugEx.Log(ex);
+ }
+ }
+
+ }
+
+}
+
+
+
+
--
Gitblit v1.8.0