| Core/GameEngine/Model/Config/OrderInfoConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/OrderInfoConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Vip/RechargeWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Vip/SupremeRechargeWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/Config/OrderInfoConfig.cs
@@ -1,47 +1,50 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, July 25, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Tuesday, August 14, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class OrderInfoConfig : ConfigBase { public int id { get ; private set ; } public string OrderInfo { get ; private set; } public string AppId { get ; private set; } public float PayRMBNum { get ; private set; } public int CTGID { get ; private set ; } public override string getKey() { return OrderInfo.ToString(); } public override void Parse() { return id.ToString(); } public override void Parse() { try { OrderInfo = rawContents[0].Trim(); id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; AppId = rawContents[1].Trim(); OrderInfo = rawContents[1].Trim(); PayRMBNum=IsNumeric(rawContents[2]) ? float.Parse(rawContents[2]):0; AppId = rawContents[2].Trim(); CTGID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; PayRMBNum=IsNumeric(rawContents[3]) ? float.Parse(rawContents[3]):0; CTGID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; } catch (Exception ex) { DesignDebug.Log(ex); } } } } } } } } Core/GameEngine/Model/Config/OrderInfoConfig.cs.meta
@@ -1,6 +1,6 @@ fileFormatVersion: 2 guid: bee6d9037f4c5c648a1108ce8fd8a626 timeCreated: 1532505359 timeCreated: 1534236780 licenseType: Pro MonoImporter: serializedVersion: 2 System/Vip/RechargeWin.cs
@@ -89,7 +89,7 @@ var _specialIndex = _list.FindIndex((x) => { var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x); return config.PayType == 3; return config != null && config.PayType == 3; }); m_SpecialRechargeBtn.gameObject.SetActive(_specialIndex != -1 && PlayerDatas.Instance.baseData.VIPLv >= GeneralConfig.Instance.supremeRechargeVipLv); } @@ -100,7 +100,7 @@ var _specialIndex = _list.FindIndex((x) => { var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x); return config.PayType == 3; return config != null && config.PayType == 3; }); if (_specialIndex != -1) { System/Vip/SupremeRechargeWin.cs
@@ -56,7 +56,7 @@ var _specialIndex = list.FindIndex((x) => { var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x); return config.PayType == 3; return config != null && config.PayType == 3; }); if (_specialIndex != -1) { @@ -70,7 +70,7 @@ var _specialIndex = list.FindIndex((x) => { var config = ConfigManager.Instance.GetTemplate<CTGConfig>(x); return config.PayType == 3; return config != null && config.PayType == 3; }); if (_specialIndex != -1) {