| Core/GameEngine/Model/Config/KingTreasureItemConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/KingTreasureItemConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/ConfigManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/Config/KingTreasureItemConfig.cs
New file @@ -0,0 +1,47 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, December 27, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class KingTreasureItemConfig : ConfigBase { public int itemId { get ; private set ; } public int rewardLevel { get ; private set ; } public string description { get ; private set; } public string qualityName { get ; private set; } public override string getKey() { return itemId.ToString(); } public override void Parse() { try { itemId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; rewardLevel=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; description = rawContents[2].Trim(); qualityName = rawContents[3].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } } Core/GameEngine/Model/Config/KingTreasureItemConfig.cs.meta
New file @@ -0,0 +1,12 @@ fileFormatVersion: 2 guid: 0a1b32d5d4ffcc74b8730b053596d44c timeCreated: 1545916909 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant: Core/GameEngine/Model/ConfigManager.cs
@@ -218,6 +218,7 @@ AddAsyncTask<GatherSoulPropertyConfig>(); AddAsyncTask<GatherSoulComposeConfig>(); AddAsyncTask<KingTreasureConfig>(); AddAsyncTask<KingTreasureItemConfig>(); while (!AllCompleted()) {