DXLeaderboardEntry

Struct representing a DX leaderboard entry.

public struct DXLeaderboardEntry: Codable

Represents a DX 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: DXProfile

The user that created the entry.

Last updated