PlayPortalLeaderboardEntry

Struct representing a playPORTAL leaderboard entry.
public struct PlayPortalLeaderboardEntry: Codable

Represents a playPORTAL leaderboard entry, including the entry's score, rank, categories, and the user that created it.

Properties

public let score: Double

The entry's score.

public let rank: Int

The entry's ranking in the leaderboard. An entry's rank is entirely determined by its score, e.g., the highest score entry in the leaderboard would have rank 1.

public let categories: [String]

The list of categories the entry was tagged with on creation.

public let user: PlayPortalProfile

The user that created the entry.