少年修仙传客户端代码仓库
client_linchunjie
2018-08-31 901810b15e62f5dcca8d4451ca5de20c49e397f9
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
2个文件已修改
133 ■■■■ 已修改文件
Core/GameEngine/Model/Config/ItemConfig.cs 131 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/ItemConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/ItemConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Wednesday, August 01, 2018
//    [  Date ]:           Friday, August 31, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -21,6 +21,8 @@
        public int UseLV { get ; private set ; }
        public int CanSell { get ; private set ; }
        public int CanTrade { get ; private set ; }
        public int CanCompose { get ; private set ; }
        public int[] JumpCompose;
        public int CanDrop { get ; private set ; }
        public int CanBind { get ; private set ; }
        public int CDType { get ; private set ; }
@@ -109,128 +111,137 @@
            
                CanTrade=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; 
            
                CanDrop=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
                CanCompose=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
            
                CanBind=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;
                string[] JumpComposeStringArray = rawContents[11].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                JumpCompose = new int[JumpComposeStringArray.Length];
                for (int i=0;i<JumpComposeStringArray.Length;i++)
                {
                     int.TryParse(JumpComposeStringArray[i],out JumpCompose[i]);
                }
            
                CDType=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
                CanDrop=IsNumeric(rawContents[12]) ? int.Parse(rawContents[12]):0;
            
                CDTime=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0;
                CanBind=IsNumeric(rawContents[13]) ? int.Parse(rawContents[13]):0;
            
                GoldPrice=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
                CDType=IsNumeric(rawContents[14]) ? int.Parse(rawContents[14]):0;
            
                GoldPaperPrice=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
                CDTime=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0;
            
                SilverPrice=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
                GoldPrice=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0;
            
                UseTag=IsNumeric(rawContents[17]) ? int.Parse(rawContents[17]):0;
                GoldPaperPrice=IsNumeric(rawContents[17]) ? int.Parse(rawContents[17]):0;
            
                Effect1=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0;
                SilverPrice=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0;
            
                EffectValueA1=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0;
                UseTag=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0;
            
                EffectValueB1=IsNumeric(rawContents[20]) ? int.Parse(rawContents[20]):0;
                Effect1=IsNumeric(rawContents[20]) ? int.Parse(rawContents[20]):0;
            
                EffectValueC1=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0;
                EffectValueA1=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0;
            
                Effect2=IsNumeric(rawContents[22]) ? int.Parse(rawContents[22]):0;
                EffectValueB1=IsNumeric(rawContents[22]) ? int.Parse(rawContents[22]):0;
            
                EffectValueA2=IsNumeric(rawContents[23]) ? int.Parse(rawContents[23]):0;
                EffectValueC1=IsNumeric(rawContents[23]) ? int.Parse(rawContents[23]):0;
            
                EffectValueB2=IsNumeric(rawContents[24]) ? int.Parse(rawContents[24]):0;
                Effect2=IsNumeric(rawContents[24]) ? int.Parse(rawContents[24]):0;
            
                EffectValueC2=IsNumeric(rawContents[25]) ? int.Parse(rawContents[25]):0;
                EffectValueA2=IsNumeric(rawContents[25]) ? int.Parse(rawContents[25]):0;
            
                Effect3=IsNumeric(rawContents[26]) ? int.Parse(rawContents[26]):0;
                EffectValueB2=IsNumeric(rawContents[26]) ? int.Parse(rawContents[26]):0;
            
                EffectValueA3=IsNumeric(rawContents[27]) ? int.Parse(rawContents[27]):0;
                EffectValueC2=IsNumeric(rawContents[27]) ? int.Parse(rawContents[27]):0;
            
                EffectValueB3=IsNumeric(rawContents[28]) ? int.Parse(rawContents[28]):0;
                Effect3=IsNumeric(rawContents[28]) ? int.Parse(rawContents[28]):0;
            
                EffectValueC3=IsNumeric(rawContents[29]) ? int.Parse(rawContents[29]):0;
                EffectValueA3=IsNumeric(rawContents[29]) ? int.Parse(rawContents[29]):0;
            
                Effect4=IsNumeric(rawContents[30]) ? int.Parse(rawContents[30]):0;
                EffectValueB3=IsNumeric(rawContents[30]) ? int.Parse(rawContents[30]):0;
            
                EffectValueA4=IsNumeric(rawContents[31]) ? int.Parse(rawContents[31]):0;
                EffectValueC3=IsNumeric(rawContents[31]) ? int.Parse(rawContents[31]):0;
            
                EffectValueB4=IsNumeric(rawContents[32]) ? int.Parse(rawContents[32]):0;
                Effect4=IsNumeric(rawContents[32]) ? int.Parse(rawContents[32]):0;
            
                EffectValueC4=IsNumeric(rawContents[33]) ? int.Parse(rawContents[33]):0;
                EffectValueA4=IsNumeric(rawContents[33]) ? int.Parse(rawContents[33]):0;
            
                Effect5=IsNumeric(rawContents[34]) ? int.Parse(rawContents[34]):0;
                EffectValueB4=IsNumeric(rawContents[34]) ? int.Parse(rawContents[34]):0;
            
                EffectValueA5=IsNumeric(rawContents[35]) ? int.Parse(rawContents[35]):0;
                EffectValueC4=IsNumeric(rawContents[35]) ? int.Parse(rawContents[35]):0;
            
                EffectValueB5=IsNumeric(rawContents[36]) ? int.Parse(rawContents[36]):0;
                Effect5=IsNumeric(rawContents[36]) ? int.Parse(rawContents[36]):0;
            
                EffectValueC5=IsNumeric(rawContents[37]) ? int.Parse(rawContents[37]):0;
                EffectValueA5=IsNumeric(rawContents[37]) ? int.Parse(rawContents[37]):0;
            
                AddSkill1=IsNumeric(rawContents[38]) ? int.Parse(rawContents[38]):0;
                EffectValueB5=IsNumeric(rawContents[38]) ? int.Parse(rawContents[38]):0;
            
                JobLimit=IsNumeric(rawContents[39]) ? int.Parse(rawContents[39]):0;
                EffectValueC5=IsNumeric(rawContents[39]) ? int.Parse(rawContents[39]):0;
            
                RealmLimit=IsNumeric(rawContents[40]) ? int.Parse(rawContents[40]):0;
                AddSkill1=IsNumeric(rawContents[40]) ? int.Parse(rawContents[40]):0;
            
                ItemColor=IsNumeric(rawContents[41]) ? int.Parse(rawContents[41]):0;
                JobLimit=IsNumeric(rawContents[41]) ? int.Parse(rawContents[41]):0;
            
                StarLevel=IsNumeric(rawContents[42]) ? int.Parse(rawContents[42]):0;
                RealmLimit=IsNumeric(rawContents[42]) ? int.Parse(rawContents[42]):0;
            
                MaxHoleCount=IsNumeric(rawContents[43]) ? int.Parse(rawContents[43]):0;
                ItemColor=IsNumeric(rawContents[43]) ? int.Parse(rawContents[43]):0;
            
                CanBreak=IsNumeric(rawContents[44]) ? int.Parse(rawContents[44]):0;
                StarLevel=IsNumeric(rawContents[44]) ? int.Parse(rawContents[44]):0;
            
                MaxEndure=IsNumeric(rawContents[45]) ? int.Parse(rawContents[45]):0;
                MaxHoleCount=IsNumeric(rawContents[45]) ? int.Parse(rawContents[45]):0;
            
                EndureReduceType=IsNumeric(rawContents[46]) ? int.Parse(rawContents[46]):0;
                CanBreak=IsNumeric(rawContents[46]) ? int.Parse(rawContents[46]):0;
            
                BindType=IsNumeric(rawContents[47]) ? int.Parse(rawContents[47]):0;
                MaxEndure=IsNumeric(rawContents[47]) ? int.Parse(rawContents[47]):0;
            
                MaxSkillCnt=IsNumeric(rawContents[48]) ? int.Parse(rawContents[48]):0;
                EndureReduceType=IsNumeric(rawContents[48]) ? int.Parse(rawContents[48]):0;
            
                ExpireTime=IsNumeric(rawContents[49]) ? int.Parse(rawContents[49]):0;
                BindType=IsNumeric(rawContents[49]) ? int.Parse(rawContents[49]):0;
            
                MaxFitLV=IsNumeric(rawContents[50]) ? int.Parse(rawContents[50]):0;
                MaxSkillCnt=IsNumeric(rawContents[50]) ? int.Parse(rawContents[50]):0;
            
                SuiteiD=IsNumeric(rawContents[51]) ? int.Parse(rawContents[51]):0;
                ExpireTime=IsNumeric(rawContents[51]) ? int.Parse(rawContents[51]):0;
            
                DropinstantEffName = rawContents[52].Trim();
                MaxFitLV=IsNumeric(rawContents[52]) ? int.Parse(rawContents[52]):0;
            
                IconKey = rawContents[53].Trim();
                SuiteiD=IsNumeric(rawContents[53]) ? int.Parse(rawContents[53]):0;
            
                ChangeOrd=IsNumeric(rawContents[54]) ? int.Parse(rawContents[54]):0;
                DropinstantEffName = rawContents[54].Trim();
            
                Description = rawContents[55].Trim();
                IconKey = rawContents[55].Trim();
            
                QualityName = rawContents[56].Trim();
                ChangeOrd=IsNumeric(rawContents[56]) ? int.Parse(rawContents[56]):0;
            
                QualityEchoType=IsNumeric(rawContents[57]) ? int.Parse(rawContents[57]):0;
                Description = rawContents[57].Trim();
            
                LimitSTR=IsNumeric(rawContents[58]) ? int.Parse(rawContents[58]):0;
                QualityName = rawContents[58].Trim();
            
                LimitPHY=IsNumeric(rawContents[59]) ? int.Parse(rawContents[59]):0;
                QualityEchoType=IsNumeric(rawContents[59]) ? int.Parse(rawContents[59]):0;
            
                LimitPNE=IsNumeric(rawContents[60]) ? int.Parse(rawContents[60]):0;
                LimitSTR=IsNumeric(rawContents[60]) ? int.Parse(rawContents[60]):0;
            
                Template = rawContents[61].Trim();
                LimitPHY=IsNumeric(rawContents[61]) ? int.Parse(rawContents[61]):0;
            
                DropItemPattern=IsNumeric(rawContents[62]) ? int.Parse(rawContents[62]):0;
                LimitPNE=IsNumeric(rawContents[62]) ? int.Parse(rawContents[62]):0;
            
                SellTip=IsNumeric(rawContents[63]) ? int.Parse(rawContents[63]):0;
                Template = rawContents[63].Trim();
            
                BatchUse=IsNumeric(rawContents[64]) ? int.Parse(rawContents[64]):0;
                DropItemPattern=IsNumeric(rawContents[64]) ? int.Parse(rawContents[64]):0;
            
                Jump=IsNumeric(rawContents[65]) ? int.Parse(rawContents[65]):0;
                SellTip=IsNumeric(rawContents[65]) ? int.Parse(rawContents[65]):0;
            
                string[] GetWayStringArray = rawContents[66].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                BatchUse=IsNumeric(rawContents[66]) ? int.Parse(rawContents[66]):0;
                Jump=IsNumeric(rawContents[67]) ? int.Parse(rawContents[67]):0;
                string[] GetWayStringArray = rawContents[68].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                GetWay = new int[GetWayStringArray.Length];
                for (int i=0;i<GetWayStringArray.Length;i++)
                {
                     int.TryParse(GetWayStringArray[i],out GetWay[i]);
                }
            
                ItemTypeName = rawContents[67].Trim();
                ItemTypeName = rawContents[69].Trim();
            
                string[] UseCondiTypeStringArray = rawContents[68].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                string[] UseCondiTypeStringArray = rawContents[70].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
                UseCondiType = new int[UseCondiTypeStringArray.Length];
                for (int i=0;i<UseCondiTypeStringArray.Length;i++)
                {
Core/GameEngine/Model/Config/ItemConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: cfc9e4de91b5b6741bf06e2003e353b9
timeCreated: 1533107824
timeCreated: 1535681865
licenseType: Pro
MonoImporter:
  serializedVersion: 2