class Tourmaline::GameHighScore

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(position : Int32 | Int64, user : Tourmaline::User, score : Int32 | Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def position : Int32 | Int64 #

Position in high score table for the game


[View source]
def position=(position : Int32 | Int64) #

Position in high score table for the game


[View source]
def score : Int32 | Int64 #

Score


[View source]
def score=(score : Int32 | Int64) #

Score


[View source]
def user : Tourmaline::User #

User


[View source]
def user=(user : Tourmaline::User) #

User


[View source]