class Hamilton::Types::GameHighScore

Overview

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

Included Modules

Defined in:

types/game_high_score.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def position : Int32 #

Position in high score table for the game.


def position=(position : Int32) #

Position in high score table for the game.


def score : Int32 #

Score.


def score=(score : Int32) #

Score.


User.


def user=(user : Hamilton::Types::User) #

User.