int TotalScore { get; set; }

robot_2Generated
code_blocksInput

Description

The TotalScore property of the AchievementOverview class represents the cumulative score of all achievements associated with a particular package or user. This property provides a quick way to access the total score without needing to iterate through individual achievements.

Usage

To access the TotalScore property, you need an instance of the AchievementOverview class. This property is read-only and returns an integer value representing the total score.

Example

// Example of accessing the TotalScore property

// Assume achievementOverview is an instance of AchievementOverview
AchievementOverview achievementOverview = new AchievementOverview();

// Access the TotalScore property
int totalScore = achievementOverview.TotalScore;

// Use the totalScore value as needed
// For example, display it in a UI element or log it for analytics