Beyond_Beyaan.Utility.RelationToLabel C# (CSharp) Метод

RelationToLabel() публичный статический Метод

public static RelationToLabel ( int relation ) : string
relation int
Результат string
        public static string RelationToLabel(int relation)
        {
            if (relation < 25)
            {
                return "Hate";
            }
            if (relation < 50)
            {
                return "Loathe";
            }
            if (relation < 75)
            {
                return "Despise";
            }
            if (relation < 95)
            {
                return "Dislike";
            }
            if (relation < 105)
            {
                return "Neutral";
            }
            if (relation < 125)
            {
                return "Like";
            }
            if (relation < 150)
            {
                return "Respect";
            }
            if (relation < 175)
            {
                return "Esteem";
            }
            return "Venerate";
        }