From 97c753d8e6014aeefd6d6a47d01f7fcda3e4fbf7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期一, 10 六月 2019 11:12:26 +0800
Subject: [PATCH] 7179 【前端】【2.0】百分比属性保留X位小数

---
 Core/GameEngine/Model/Config/PlayerPropertyConfig.cs |   37 ++++++++++++++++++++-----------------
 1 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/Core/GameEngine/Model/Config/PlayerPropertyConfig.cs b/Core/GameEngine/Model/Config/PlayerPropertyConfig.cs
index 51f5f3d..51a7bc8 100644
--- a/Core/GameEngine/Model/Config/PlayerPropertyConfig.cs
+++ b/Core/GameEngine/Model/Config/PlayerPropertyConfig.cs
@@ -1,6 +1,6 @@
 锘�//--------------------------------------------------------
 //    [Author]:           Fish
-//    [  Date ]:           Wednesday, May 15, 2019
+//    [  Date ]:           Monday, June 10, 2019
 //--------------------------------------------------------
 
 using System.Collections.Generic;
@@ -13,11 +13,12 @@
 public partial class PlayerPropertyConfig
 {
 
-    public readonly int ID;
-	public readonly string Name;
-	public readonly int ISPercentage;
-	public readonly int type;
-	public readonly string desc;
+    public readonly int ID;
+	public readonly string Name;
+	public readonly int ISPercentage;
+	public readonly int type;
+	public readonly int decimalCount;
+	public readonly string desc;
 	public readonly string Parameter;
 
 	public PlayerPropertyConfig()
@@ -30,17 +31,19 @@
         {
             var tables = input.Split('\t');
 
-            int.TryParse(tables[0],out ID); 
-
-			Name = tables[1];
-
-			int.TryParse(tables[2],out ISPercentage); 
-
-			int.TryParse(tables[3],out type); 
-
-			desc = tables[4];
-
-			Parameter = tables[5];
+            int.TryParse(tables[0],out ID); 
+
+			Name = tables[1];
+
+			int.TryParse(tables[2],out ISPercentage); 
+
+			int.TryParse(tables[3],out type); 
+
+			int.TryParse(tables[4],out decimalCount); 
+
+			desc = tables[5];
+
+			Parameter = tables[6];
         }
         catch (Exception ex)
         {

--
Gitblit v1.8.0