Ejemplo n.º 1
0
        /// <summary>
        /// Updates the description of this achievement.
        /// </summary>
        private void UpdateDescription()
        {
            // Determine text from the achievement strings
            var type = AD.GetAchievementData(ID);

            if (type == null)
            {
                description = AchievementStrings.DEFAULT_PROGRESS;
            }
            else
            {
                description = AD.GetStringValue(type, "PROGRESS") ?? AchievementStrings.
                              DEFAULT_PROGRESS.text;
            }
        }