class Tourmaline::GameHighScore
- Tourmaline::GameHighScore
- Reference
- Object
Overview
This object represents one row of the high scores table for a game.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(position : Int32 | Int64, user : Tourmaline::User, score : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#position : Int32 | Int64
Position in high score table for the game
-
#position=(position : Int32 | Int64)
Position in high score table for the game
-
#score : Int32 | Int64
Score
-
#score=(score : Int32 | Int64)
Score
-
#user : Tourmaline::User
User
-
#user=(user : Tourmaline::User)
User
Constructor Detail
def self.new(position : Int32 | Int64, user : Tourmaline::User, score : Int32 | Int64)
#