Link Search Menu Expand Document

Constructor: starsRating

Back to constructors index

Represents the profile’s star rating, see here » for more info.

Attributes:

NameTypeRequiredDescription
levelintYesThe current level, may be negative.
current_level_starslongYesThe numerical value of the rating required for the current level.
starslongYesNumerical value of the current rating.
next_level_starslongOptionalThe numerical value of the rating required for the next level.

Type: StarsRating

Example:

$starsRating = ['_' => 'starsRating', 'level' => int, 'current_level_stars' => long, 'stars' => long, 'next_level_stars' => long];