|
@@ -8,7 +8,10 @@ namespace GFGGame
|
|
|
{
|
|
|
private static int _currentIndex;
|
|
|
public static int currentIndex { get; set; }
|
|
|
+ private const int _defaultPosCount = 3;
|
|
|
+ private static MonthlyCardPrivilegeCfg privilegeCfg = MonthlyCardPrivilegeCfgArray.Instance.GetCfg(MonthCardPrivilegeType.Privilege3);
|
|
|
|
|
|
+ // private string[] posItems = new string[_defaultPosCount + privilegeCfg.value1Arr[0] + privilegeCfg.value2Arr[1]];
|
|
|
|
|
|
private static Dictionary<int, CustomSuitData> _dataDic = new Dictionary<int, CustomSuitData>();
|
|
|
public static void SaveSuit(int index, DressUpData dressUpData)
|
|
@@ -82,5 +85,19 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ //检测是否是月卡位置,0默认位置
|
|
|
+ public static bool CheckIsCardPos(int cardType, int pos)
|
|
|
+ {
|
|
|
+ // if (pos < _defaultPosCount) return false;
|
|
|
+
|
|
|
+ // for (int i = _defaultPosCount; i < posItems.Length; i++)
|
|
|
+ // {
|
|
|
+ // if (cardType == MonthCardType.Gold && pos <)
|
|
|
+ // {
|
|
|
+
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
}
|