Class: TD::Types::GameHighScore

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/game_high_score.rb

Overview

Contains one row of the game high score table.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#positionInteger

Position in the high score table.

Returns:

  • (Integer)

    the current value of position



7
8
9
# File 'lib/tdlib/types/game_high_score.rb', line 7

def position
  @position
end

#scoreInteger

User score.

Returns:

  • (Integer)

    the current value of score



7
8
9
# File 'lib/tdlib/types/game_high_score.rb', line 7

def score
  @score
end

#user_idInteger

User identifier.

Returns:

  • (Integer)

    the current value of user_id



7
8
9
# File 'lib/tdlib/types/game_high_score.rb', line 7

def user_id
  @user_id
end