少年修仙传客户端代码仓库
client_linchunjie
2019-01-16 af956512e72919790f0eba37bc114a0fffea0e5b
Core/GameEngine/Model/Config/RealmConfig.cs
@@ -1,16 +1,16 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Friday, August 10, 2018
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class RealmConfig : ConfigBase {
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Wednesday, January 16, 2019
//--------------------------------------------------------
using UnityEngine;
using System;
namespace TableConfig {
   public partial class RealmConfig : ConfigBase {
      public int Lv { get ; private set ; }
      public string Name { get ; private set; } 
      public int IsBigRealm { get ; private set ; }
@@ -27,15 +27,16 @@
      public int FightPower { get ; private set ; }
      public int specialProperty { get ; private set ; }
      public int effectId { get ; private set ; }
      public override string getKey()
        {
            return Lv.ToString();
        }
      public override void Parse() {
         try
            {
      public int requireIconEffect { get ; private set ; }
      public override string getKey()
        {
            return Lv.ToString();
        }
      public override void Parse() {
         try
            {
                Lv=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
         
            Name = rawContents[1].Trim();
@@ -77,17 +78,19 @@
            specialProperty=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; 
         
            effectId=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; 
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}
            requireIconEffect=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }
   }
}