少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-12 1aeb815836d84ecfddf761a47862efebbba0ad03
Core/GameEngine/Model/Config/WeekPartyPointConfig.cs
@@ -1,47 +1,49 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Friday, January 11, 2019
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class WeekPartyPointConfig : ConfigBase {
      public int Id { get ; private set ; }
      public string ImageType1 { get ; private set; }
      public string ImageType2 { get ; private set; }
      public string name { get ; private set; }
      public override string getKey()
        {
            return Id.ToString();
        }
      public override void Parse() {
         try
            {
                Id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Tuesday, February 12, 2019
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class WeekPartyPointConfig : ConfigBase {
      public int Id;
      public string ImageType1;
      public string ImageType2;
      public string name;
      public override string getKey()
        {
            return Id.ToString();
        }
      public override void Parse(string content) {
         try
            {
                var contents = content.Split('\t');
                int.TryParse(contents[0],out Id);
         
            ImageType1 = rawContents[1].Trim();
            ImageType1 = contents[1];
         
            ImageType2 = rawContents[2].Trim();
            ImageType2 = contents[2];
         
            name = rawContents[3].Trim();
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}
            name = contents[3];
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}