Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Leaderboard(val world: String, val rotation: LeaderboardRotation, val availableRotations: List<LeaderboardRotation>, val lastUpdatedAt: Instant?, val currentPage: Int, val totalPages: Int, val resultsCount: Int, val entries: List<LeaderboardEntry>) : PaginatedWithUrl<LeaderboardEntry>

The Tibia Drome leaderboards of a world.

Link copied to clipboard
@Serializable
sealed interface LeaderboardEntry

Entry type for Leaderboards.

Link copied to clipboard
@Serializable
data class LeaderboardRotation(val rotationId: Int, val isCurrent: Boolean, val endsAt: Instant)

A rotation of the Tibia Drome leaderboards.