PlayerAchievementsProgress

data class PlayerAchievementsProgress(val stars: Int, val value: Int, val name: String, val target: Int, val info: String, val completionInfo: String, val village: Village)

Represents the PlayerAchievementsProgress model of the Clash of Clans API. The PlayerAchievementsProgress data class stores information about the progress of a player's achievements in the game.

Constructors

Link copied to clipboard
constructor(stars: Int, value: Int, name: String, target: Int, info: String, completionInfo: String, village: Village)

Properties

Link copied to clipboard

Information about the completion status of the achievement.

Link copied to clipboard

Additional information about the achievement.

Link copied to clipboard

The name of the achievement.

Link copied to clipboard
val stars: Int

The current number of stars earned for the achievement.

Link copied to clipboard
val target: Int

The target value that needs to be reached for completing the achievement.

Link copied to clipboard
val value: Int

The current value of the achievement progress.

Link copied to clipboard

The type of village associated with the achievement (Home Village or Builder Base).