少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-12 1aeb815836d84ecfddf761a47862efebbba0ad03
Core/GameEngine/Model/Config/LVAawrdConfig.cs
@@ -1,53 +1,55 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Monday, July 16, 2018
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Tuesday, February 12, 2019
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class LVAawrdConfig : ConfigBase {
      public int RewardID { get ; private set ; }
      public int LV { get ; private set ; }
      public int LimitNUM { get ; private set ; }
      public string Reward { get ; private set; }
      public int VIPLimit { get ; private set ; }
      public string VIPAward { get ; private set; }
      public int RewardID;
      public int LV;
      public int LimitNUM;
      public string Reward;
      public int VIPLimit;
      public string VIPAward;
      public override string getKey()
        {
            return RewardID.ToString();
        }
      public override void Parse() {
        }
      public override void Parse(string content) {
         try
            {
                RewardID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                var contents = content.Split('\t');
                int.TryParse(contents[0],out RewardID);
         
            LV=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
            int.TryParse(contents[1],out LV);
         
            LimitNUM=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
            int.TryParse(contents[2],out LimitNUM);
         
            Reward = rawContents[3].Trim();
            Reward = contents[3];
         
            VIPLimit=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
            int.TryParse(contents[4],out VIPLimit);
         
            VIPAward = rawContents[5].Trim();
            VIPAward = contents[5];
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}
            }
      }
   }
}