Exemplo n.º 1
0
        public static Brush GetPotentialTextBrush(GearGrade grade)
        {
            switch (grade)
            {
            default:
            case GearGrade.B: return(GearPropChangeBrush);

            case GearGrade.A: return(GearNameBrushE);

            case GearGrade.S: return(GearNameBrushF);

            case GearGrade.SS: return(GreenBrush2);
            }
        }
Exemplo n.º 2
0
        public static Brush GetPotentialTextBrush(GearGrade grade)
        {
            switch (grade)
            {
            case GearGrade.B: return(GearNameBrushD);

            case GearGrade.A: return(GearNameBrushE);

            case GearGrade.S: return(GearNameBrushF);

            case GearGrade.SS: return(GreenBrush2);
            }
            return(null);
        }
Exemplo n.º 3
0
        private Image GetAdditionalOptionIcon(GearGrade grade)
        {
            switch (grade)
            {
            case GearGrade.B: return(Resource.AdditionalOptionTooltip_rare);

            case GearGrade.A: return(Resource.AdditionalOptionTooltip_epic);

            case GearGrade.S: return(Resource.AdditionalOptionTooltip_unique);

            case GearGrade.SS: return(Resource.AdditionalOptionTooltip_legendary);
            }
            return(null);
        }
Exemplo n.º 4
0
        /// <summary>
        /// 获取gearGrade所对应的字符串。
        /// </summary>
        /// <param Name="rank">表示装备的潜能等级GearGrade。</param>
        /// <returns></returns>
        public static string GetGearGradeString(GearGrade rank)
        {
            switch (rank)
            {
            case GearGrade.B: return("(Rare Item)");

            case GearGrade.A: return("(Epic Item)");

            case GearGrade.S: return("(Unique Item)");

            case GearGrade.SS: return("(Legendary Item)");

            case GearGrade.Special: return("(Special Item)");

            default: return(null);
            }
        }
        /// <summary>
        /// 获取gearGrade所对应的字符串。
        /// </summary>
        /// <param Name="rank">表示装备的潜能等级GearGrade。</param>
        /// <returns></returns>
        public static string GetGearGradeString(GearGrade rank)
        {
            switch (rank)
            {
            //case GearGrade.C: return "C级(一般物品)";
            case GearGrade.B: return("(레어 아이템)");

            case GearGrade.A: return("(에픽 아이템)");

            case GearGrade.S: return("(유니크 아이템)");

            case GearGrade.SS: return("(레전드리 아이템)");

            case GearGrade.Special: return("(스페셜 아이템)");

            default: return(null);
            }
        }
Exemplo n.º 6
0
        /// <summary>
        /// 获取gearGrade所对应的字符串。
        /// </summary>
        /// <param Name="rank">表示装备的潜能等级GearGrade。</param>
        /// <returns></returns>
        public static string GetGearGradeString(GearGrade rank)
        {
            switch (rank)
            {
            //case GearGrade.C: return "(一般物品)";
            case GearGrade.B: return("(特殊道具)");

            case GearGrade.A: return("(稀有道具)");

            case GearGrade.S: return("(罕見道具)");

            case GearGrade.SS: return("(傳說道具)");

            case GearGrade.Special: return("(特殊道具)");

            default: return(null);
            }
        }
Exemplo n.º 7
0
        /// <summary>
        /// 获取gearGrade所对应的字符串。
        /// </summary>
        /// <param Name="rank">表示装备的潜能等级GearGrade。</param>
        /// <returns></returns>
        public static string GetGearGradeString(GearGrade rank)
        {
            switch (rank)
            {
            case GearGrade.C: return("C级(一般物品)");

            case GearGrade.B: return("B级(高级物品)");

            case GearGrade.A: return("A级(史诗物品)");

            case GearGrade.S: return("S级(传说物品)");

            case GearGrade.SS: return("SS级(传说极品)");

            case GearGrade.Special: return("(特殊物品)");

            default: return(null);
            }
        }
Exemplo n.º 8
0
        public static Pen GetGearItemBorderPen(GearGrade grade)
        {
            switch (grade)
            {
            case GearGrade.B:
                return(GearItemBorderPenB);

            case GearGrade.A:
                return(GearItemBorderPenA);

            case GearGrade.S:
                return(GearItemBorderPenS);

            case GearGrade.SS:
                return(GearItemBorderPenSS);

            default:
                return(null);
            }
        }