Link Search Menu Expand Document

Constructor: messages.highScores

Back to constructors index

Highscores in a game

Attributes:

NameTypeRequiredDescription
scoresArray of HighScoreYesHighscores
usersArray of UserYesUsers, associated to the highscores

Type: messages.HighScores

Example:

$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]];