少年修仙传客户端代码仓库
client_linchunjie
2018-10-31 bc86a576b6aa4e573873eaaaba178f0a0575dcc0
4492 【1.2】全民冲榜删除无用字段
2个文件已修改
31 ■■■■ 已修改文件
Core/GameEngine/Model/Config/OSCBillRankAwardConfig.cs 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/OSCBillRankAwardConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/OSCBillRankAwardConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Monday, March 05, 2018
//    [  Date ]:           Wednesday, October 31, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -11,12 +11,11 @@
    
    public partial class OSCBillRankAwardConfig : ConfigBase {
        public int ID { get ; private set ; }
        public int RangListType { get ; private set ; }
        public int RankA { get ; private set ; }
        public int RankB { get ; private set ; }
        public int ID { get ; private set ; }
        public int RangListType { get ; private set ; }
        public int RankA { get ; private set ; }
        public int RankB { get ; private set ; }
        public string Gift { get ; private set; } 
        public string Tip { get ; private set; }
        public override string getKey()
        {
@@ -26,17 +25,15 @@
        public override void Parse() {
            try
            {
                ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                RangListType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
                RankA=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                RankB=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
                ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
                RangListType=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
                RankA=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                RankB=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
                Gift = rawContents[4].Trim();
                Tip = rawContents[5].Trim();
            }
            catch (Exception ex)
            {
Core/GameEngine/Model/Config/OSCBillRankAwardConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 7ce4d6937cf54cd4fa6ade01d3dac04b
timeCreated: 1520238947
timeCreated: 1540966904
licenseType: Pro
MonoImporter:
  serializedVersion: 2