少年修仙传客户端代码仓库
client_linchunjie
2018-12-11 3e346f7cd981aa62971798ce15bc9c2fb3776311
5389 子 【优化】【1.3】【1.3.100】神兵特效展示界面新增战力与属性展示
2个文件已修改
29 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/GodWeaponEffectConfig.cs 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/GodWeaponEffectConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/GodWeaponEffectConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Friday, November 23, 2018
//    [  Date ]:           Tuesday, December 11, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,10 +11,11 @@
    
    public partial class GodWeaponEffectConfig : ConfigBase {
        public int id { get ; private set ; }
        public int type { get ; private set ; }
        public int level { get ; private set ; }
        public string effect { get ; private set; }
        public int id { get ; private set ; }
        public int type { get ; private set ; }
        public int level { get ; private set ; }
        public string effect { get ; private set; }
        public int fightPower { get ; private set ; }
        public override string getKey()
        {
@@ -24,13 +25,15 @@
        public override void Parse() {
            try
            {
                id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
                level=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                effect = rawContents[3].Trim();
                id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                type=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
                level=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                effect = rawContents[3].Trim();
                fightPower=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
            }
            catch (Exception ex)
            {
Core/GameEngine/Model/Config/GodWeaponEffectConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: c7a22e75f9a0eed49aed26e8171f8172
timeCreated: 1542943278
timeCreated: 1544493824
licenseType: Pro
MonoImporter:
  serializedVersion: 2