using System.Collections; using UnityEngine; namespace GFGGame { public class ConstDressRarity { public const int Rarity_TIANYI = 5; public const int Rarity_GUOSE = 4; public const int Rarity_DIANCANG = 3; public const int Rarity_ZHENXI = 2; public const int Rarity_FANPIN = 1; public const string TITLE_TIANYI = "天衣"; public const string TITLE_GUOSE = "国色"; public const string TITLE_DIANCANG = "典藏"; public const string TITLE_ZHENXI = "珍稀"; public const string TITLE_FANPIN = "凡品"; private static SortedList _dressRarityList; public static SortedList DressRarityList() { if (ConstDressRarity._dressRarityList == null) { ConstDressRarity._dressRarityList = new SortedList(); ConstDressRarity._dressRarityList.Add(ConstDressRarity.Rarity_FANPIN, ConstDressRarity.TITLE_FANPIN); ConstDressRarity._dressRarityList.Add(ConstDressRarity.Rarity_ZHENXI, ConstDressRarity.TITLE_ZHENXI); ConstDressRarity._dressRarityList.Add(ConstDressRarity.Rarity_DIANCANG, ConstDressRarity.TITLE_DIANCANG); ConstDressRarity._dressRarityList.Add(ConstDressRarity.Rarity_GUOSE, ConstDressRarity.TITLE_GUOSE); ConstDressRarity._dressRarityList.Add(ConstDressRarity.Rarity_TIANYI, ConstDressRarity.TITLE_TIANYI); } return ConstDressRarity._dressRarityList; } } }