2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: messages.highScores
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Highscores in a game
|
2019-08-15 20:25:16 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: messages.highScores
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Highscores in a game
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores|
|
|
|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [messages\_HighScores](../types/messages_HighScores.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
messages_highScores={_='messages.highScores', scores={HighScore}, users={User}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|