| Core/GameEngine/Model/Config/AttrFruitConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/AttrFruitConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/DogzPackWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| UI/Common/SortTable.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/Config/AttrFruitConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Wednesday, August 08, 2018 // [ Date ]: Monday, October 15, 2018 //-------------------------------------------------------- using UnityEngine; @@ -9,22 +9,23 @@ namespace TableConfig { public partial class AttrFruitConfig : ConfigBase { public partial class AttrFruitConfig : ConfigBase { public int ID { get ; private set ; } public int FuncID { get ; private set ; } public int MaxUseCnt { get ; private set ; } public int RecycleExp { get ; private set ; } public int Sort { get ; private set ; } public int RecipeLv { 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; FuncID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; @@ -34,10 +35,12 @@ RecycleExp=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0; Sort=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; } catch (Exception ex) { DebugEx.Log(ex); RecipeLv=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0; } catch (Exception ex) { DebugEx.Log(ex); } } Core/GameEngine/Model/Config/AttrFruitConfig.cs.meta
@@ -1,7 +1,7 @@ fileFormatVersion: 2 guid: 1954bcb26cf3ca94786dfcd7948b49df timeCreated: 1533695467 licenseType: Free timeCreated: 1539609256 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] System/Dogz/DogzPackWin.cs
@@ -212,8 +212,17 @@ } } private void RefreshDogzSelectEvent(int type) private void RefreshDogzSelectEvent(SortType sortType,int type) { switch (sortType) { case SortType.EquipQuality: dogzModel.SelectDogzItemQuality = type; break; case SortType.EquipStar: dogzModel.SelectDogzItemStart = type; break; } m_PackController.m_Scorller.RefreshActiveCellViews(); } UI/Common/SortTable.cs
@@ -25,10 +25,8 @@ [SerializeField] ScrollerController m_Controller; [SerializeField] ClickScreenOtherSpace m_ClickOtherSpace; [SerializeField] Text m_TargetDisplay; public event Action<int> onSelectSortEvent; public event Action<SortType, int> onSelectSortEvent; public event Action onSortCloseEvent; DogzModel dogzModel { get { return ModelCenter.Instance.GetModel<DogzModel>(); } } private void Awake() { m_Controller.OnRefreshCell += OnRefreshCell; @@ -62,19 +60,9 @@ { var _index = _cell.index; var type = m_SortElements[_index].type; switch (sortType) { case SortType.EquipQuality: dogzModel.SelectDogzItemQuality = type; break; case SortType.EquipStar: dogzModel.SelectDogzItemStart = type; break; } if (onSelectSortEvent != null) { onSelectSortEvent(type); onSelectSortEvent(sortType,type); } if (onSortCloseEvent != null) {