12345678910111213141516171819202122232425262728293031323334 |
- using System.Collections;
- using UnityEngine;
- namespace GFGGame
- {
- public class ConstStoreId
- {
- public const int DIAMOND_STORE_ID = 1;//钻石商店
- public const int CLOTHING_STORE_ID = 2;//服装店
- public const int LUCKY_BOX_STORE_ID = 3;//抽卡兑换商店
- public const int LUCKY_BOX_ACTIVITY_STORE_ID = 4;//抽卡活动兑换商店
- public const string DIAMOND_STORE_TITLE = "钻石商城";//钻石商店
- public const string CLOTHING_STORE_TITLE = "服装店";//服装店
- public const string LUCKY_BOX_STORE_TITLE = "落星商城";//抽卡兑换商店
- public const string LUCKY_BOX_ACTIVITY_STORE_TITLE = "活动商城";//抽卡活动兑换商店
- private static SortedList _storeTitleList;
- public static SortedList CardStateList()
- {
- if (ConstStoreId._storeTitleList == null)
- {
- ConstStoreId._storeTitleList = new SortedList();
- ConstStoreId._storeTitleList.Add(ConstStoreId.DIAMOND_STORE_ID, ConstStoreId.DIAMOND_STORE_TITLE);
- ConstStoreId._storeTitleList.Add(ConstStoreId.CLOTHING_STORE_ID, ConstStoreId.CLOTHING_STORE_TITLE);
- ConstStoreId._storeTitleList.Add(ConstStoreId.LUCKY_BOX_STORE_ID, ConstStoreId.LUCKY_BOX_STORE_TITLE);
- ConstStoreId._storeTitleList.Add(ConstStoreId.LUCKY_BOX_ACTIVITY_STORE_ID, ConstStoreId.LUCKY_BOX_ACTIVITY_STORE_TITLE);
- }
- return ConstStoreId._storeTitleList;
- }
- }
- }
|