List of all members | Public Fields | Public Instance Methods | Static Public Attributes
userRating Class Referencefinal

Inherits Object.

Description

Contains description of user rating.

Public Fields

int32 level_
 The level of the user; may be negative.
 
bool is_maximum_level_reached_
 True, if the maximum level is reached.
 
int53 rating_
 Numerical value of the rating.
 
int53 current_level_rating_
 The rating required for the current level.
 
int53 next_level_rating_
 The rating required for the next level; 0 if the maximum level is reached.
 

Public Instance Methods

 userRating ()
 
 userRating (int32 level_, bool is_maximum_level_reached_, int53 rating_, int53 current_level_rating_, int53 next_level_rating_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 532047235
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ userRating() [1/2]

Contains description of user rating.

◆ userRating() [2/2]

userRating ( int32  level_,
bool  is_maximum_level_reached_,
int53  rating_,
int53  current_level_rating_,
int53  next_level_rating_ 
)

Contains description of user rating.

Parameters
[in]level_The level of the user; may be negative.
[in]is_maximum_level_reached_True, if the maximum level is reached.
[in]rating_Numerical value of the rating.
[in]current_level_rating_The rating required for the current level.
[in]next_level_rating_The rating required for the next level; 0 if the maximum level is reached.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: