| | |
| | | } |
| | | } |
| | | |
| | | private HashSet<int> UpdateRedPointItemSet = new HashSet<int>(); |
| | | public HashSet<int> GetUpdateRedPointItemSet() |
| | | { |
| | | if (UpdateRedPointItemSet.Count > 0) |
| | | return UpdateRedPointItemSet; |
| | | |
| | | var types = (PhantasmPavilionType[])System.Enum.GetValues(typeof(PhantasmPavilionType)); |
| | | foreach (var type in types) |
| | | { |
| | | List<int> keys = GetTableKeys(type); |
| | | if (keys == null) |
| | | continue; |
| | | |
| | | foreach (var id in keys) |
| | | { |
| | | if (GetUnlockWay(type, id) != 2) |
| | | continue; |
| | | |
| | | int itemId = GetUnlockValue(type, id); |
| | | UpdateRedPointItemSet.Add(itemId); |
| | | } |
| | | } |
| | | |
| | | return UpdateRedPointItemSet; |
| | | } |
| | | |
| | | public List<int> newSkinIDModelList = new List<int>(); |
| | | public List<int> newSkinIDFaceList = new List<int>(); |
| | | string modelSkinKey { get { return StringUtility.Concat("PhantasmPavilion_Redponit_ModelSkin_", PlayerDatas.Instance.PlayerId.ToString()); } } |
| | |
| | | { |
| | | int[] arr = LocalSave.GetIntArray(faceSkinKey); |
| | | newSkinIDFaceList = arr.IsNullOrEmpty() ? new List<int>() : arr.ToList(); |
| | | }else |
| | | } |
| | | else |
| | | { |
| | | newSkinIDFaceList = new List<int>(); |
| | | } |