Skip to content

class Tourmaline::GameHighScore
inherits Reference #

This object represents one row of the high scores table for a game.

Included modules

JSON::Serializable

Constructors#

.new(position, user, score) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#position : Int32 | Int64 #

Position in high score table for the game

View source

#position=(position : Int32 | Int64) #

Position in high score table for the game

View source

#score : Int32 | Int64 #

Score

View source

#score=(score : Int32 | Int64) #

Score

View source

#user=(user : Tourmaline::User) #

User

View source