GameHighScore

data class GameHighScore(position: Int, user: User, score: Int)

This object represents one row of the high scores table for a game. And that's about all we've got for now. If you've got any questions, please check out our Bot FAQ »

Parameters

position

Position in high score table for the game

user

User

score

Score

Constructors

GameHighScore
Link copied to clipboard
common
fun GameHighScore(position: Int, user: User, score: Int)
Position in high score table for the game

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): User
component3
Link copied to clipboard
common
operator fun component3(): Int
copy
Link copied to clipboard
common
fun copy(position: Int, user: User, score: Int): GameHighScore
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

position
Link copied to clipboard
common
val position: Int
Position in high score table for the game
score
Link copied to clipboard
common
val score: Int
Score
user
Link copied to clipboard
common
val user: User
User