少年修仙传客户端代码仓库
client_linchunjie
2019-01-16 af956512e72919790f0eba37bc114a0fffea0e5b
5739 【前端】【1.5】境界等级修改,新增后续境界,UI界面调整
3个文件已修改
13 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/RealmConfig.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/RealmConfig.cs.meta 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmIcon.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/RealmConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Friday, August 10, 2018
//    [  Date ]:           Wednesday, January 16, 2019
//--------------------------------------------------------
using UnityEngine;
@@ -27,6 +27,7 @@
        public int FightPower { get ; private set ; }
        public int specialProperty { get ; private set ; }
        public int effectId { get ; private set ; }
        public int requireIconEffect { get ; private set ; }
        public override string getKey()
        {
@@ -77,6 +78,8 @@
                specialProperty=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0; 
            
                effectId=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; 
                requireIconEffect=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
            }
            catch (Exception 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;
        }