少年修仙传客户端代码仓库
client_linchunjie
2019-01-16 af956512e72919790f0eba37bc114a0fffea0e5b
5739 【前端】【1.5】境界等级修改,新增后续境界,UI界面调整
3个文件已修改
83 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/RealmConfig.cs 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/RealmConfig.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmIcon.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);
            }
        }
    }
}
Core/GameEngine/Model/Config/RealmConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: a8e3498d4f8ba4d49820b7f43c810d3a
timeCreated: 1533905510
timeCreated: 1547608403
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/Realm/RealmIcon.cs
@@ -53,11 +53,7 @@
            var config = Config.Instance.Get<RealmConfig>(_realmLv);
            if (config != null)
            {
                switch (config.Quality)
                {
                    case 9:
                        return 3064;
                }
                return config.requireIconEffect;
            }
            return 0;
        }