|
@@ -28,24 +28,6 @@ namespace GFGGame
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|
|
- private List<ShopCfg> ShopCfgs(int storeId)
|
|
|
|
- {
|
|
|
|
- ShopCfg[] shopCfgs = null;
|
|
|
|
- switch (storeId)
|
|
|
|
- {
|
|
|
|
- case ConstStoreId.CLOTHING_STORE_ID:
|
|
|
|
- shopCfgs = ShopCfgClothingArray.Instance.dataArray;
|
|
|
|
- break;
|
|
|
|
- case ConstStoreId.LUCKY_BOX_STORE_ID:
|
|
|
|
- shopCfgs = ShopCfgCJArray.Instance.dataArray;
|
|
|
|
-
|
|
|
|
- break;
|
|
|
|
- case ConstStoreId.LUCKY_BOX_ACTIVITY_STORE_ID:
|
|
|
|
- shopCfgs = ShopCfgCJAArray.Instance.dataArray;
|
|
|
|
- break;
|
|
|
|
- }
|
|
|
|
- return new List<ShopCfg>(shopCfgs);
|
|
|
|
- }
|
|
|
|
public ShopCfg GetShopCfg(int buyId, int shopType)
|
|
public ShopCfg GetShopCfg(int buyId, int shopType)
|
|
{
|
|
{
|
|
switch (shopType)
|
|
switch (shopType)
|