|
@@ -5,6 +5,7 @@ namespace GFGGame
|
|
public class DecomposeDataManager : SingletonBase<DecomposeDataManager>
|
|
public class DecomposeDataManager : SingletonBase<DecomposeDataManager>
|
|
{
|
|
{
|
|
Dictionary<int, List<int>> _decomposeData = new Dictionary<int, List<int>>();//所有数量大于1的换装部件数据
|
|
Dictionary<int, List<int>> _decomposeData = new Dictionary<int, List<int>>();//所有数量大于1的换装部件数据
|
|
|
|
+ Dictionary<int, List<int>> _suitSyntheticMaterias = new Dictionary<int, List<int>>();//suitId,materiasId
|
|
List<int> _rewardList = new List<int>();
|
|
List<int> _rewardList = new List<int>();
|
|
|
|
|
|
public const int MaxCount = 999;
|
|
public const int MaxCount = 999;
|
|
@@ -67,5 +68,21 @@ namespace GFGGame
|
|
{
|
|
{
|
|
return ItemDataManager.GetItemNum(itemId) - 1;
|
|
return ItemDataManager.GetItemNum(itemId) - 1;
|
|
}
|
|
}
|
|
|
|
+ public void InitSuitSyntheticMaterias()
|
|
|
|
+ {
|
|
|
|
+ List<SuitCfg> suitCfgs = new List<SuitCfg>();
|
|
|
|
+ suitCfgs.AddRange(new List<SuitCfg>(SuitCfgArray.Instance.GetCfgsBysyntheticType(1)));
|
|
|
|
+ suitCfgs.AddRange(new List<SuitCfg>(SuitCfgArray.Instance.GetCfgsBysyntheticType(2)));
|
|
|
|
+ suitCfgs.AddRange(new List<SuitCfg>(SuitCfgArray.Instance.GetCfgsBysyntheticType(3)));
|
|
|
|
+ for (int i = 0; i < suitCfgs.Count; i++)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public bool CheckIsSyntheticMaterias()
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|