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