示例#1
0
        public static string ScoreGetPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return string.Empty;

            return score.points;
        }
示例#2
0
        public static bool ScoreHasPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return false;

            return true;
        }
示例#3
0
        public static string ScoreGetMessage(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.message))
                return string.Empty;

            return score.message;
        }