少年修仙传客户端代码仓库
client_linchunjie
2018-09-03 39a0bb1bfa3dde4397ab31dc07a823b4064b20e4
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);
            }
      }
   }
}