| Core/GameEngine/Model/Config/HorseConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/HorseConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/PetInfoConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/PetInfoConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/Config/HorseConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, July 31, 2018 // [ Date ]: Thursday, October 25, 2018 //-------------------------------------------------------- using UnityEngine; @@ -9,8 +9,8 @@ namespace TableConfig { public partial class HorseConfig : ConfigBase { public partial class HorseConfig : ConfigBase { public int HorseID { get ; private set ; } public int ItemID { get ; private set ; } public string Name { get ; private set; } @@ -27,15 +27,16 @@ public int ShowFightPower { get ; private set ; } public int Sort { get ; private set ; } public int[] RideAudios; public string DescribeIconKey { get ; private set; } public override string getKey() { return HorseID.ToString(); public override string getKey() { return HorseID.ToString(); } public override void Parse() { try { try { HorseID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; ItemID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; @@ -72,10 +73,12 @@ { int.TryParse(RideAudiosStringArray[i],out RideAudios[i]); } } catch (Exception ex) { DebugEx.Log(ex); DescribeIconKey = rawContents[16].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } Core/GameEngine/Model/Config/HorseConfig.cs.meta
@@ -1,6 +1,6 @@ fileFormatVersion: 2 guid: 11506fccebe60354881fb76fbc89c062 timeCreated: 1533018682 timeCreated: 1540439672 licenseType: Pro MonoImporter: serializedVersion: 2 Core/GameEngine/Model/Config/PetInfoConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, July 17, 2018 // [ Date ]: Thursday, October 25, 2018 //-------------------------------------------------------- using UnityEngine; @@ -9,8 +9,8 @@ namespace TableConfig { public partial class PetInfoConfig : ConfigBase { public partial class PetInfoConfig : ConfigBase { public int ID { get ; private set ; } public string Name { get ; private set; } public int Quality { get ; private set ; } @@ -28,15 +28,16 @@ public string InitFightPower { get ; private set; } public int ShowFightPower { get ; private set ; } public int Sort { get ; private set ; } public string DescribeIconKey { get ; private set; } public override string getKey() { return ID.ToString(); public override string getKey() { return ID.ToString(); } public override void Parse() { try { try { ID=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; Name = rawContents[1].Trim(); @@ -75,10 +76,12 @@ ShowFightPower=IsNumeric(rawContents[15]) ? int.Parse(rawContents[15]):0; Sort=IsNumeric(rawContents[16]) ? int.Parse(rawContents[16]):0; } catch (Exception ex) { DebugEx.Log(ex); DescribeIconKey = rawContents[17].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } Core/GameEngine/Model/Config/PetInfoConfig.cs.meta
@@ -1,7 +1,7 @@ fileFormatVersion: 2 guid: 7e4484056094f9b4da70da7a8bb05e3c timeCreated: 1531808064 licenseType: Free timeCreated: 1540439638 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: []