tgbot-cpp
Loading...
Searching...
No Matches
GameHighScore.h
Go to the documentation of this file.
1
#ifndef TGBOT_GAMEHIGHSCORE_H
2
#define TGBOT_GAMEHIGHSCORE_H
3
4
#include "
tgbot/types/PhotoSize.h
"
5
#include "
tgbot/types/User.h
"
6
7
#include <cstdint>
8
#include <memory>
9
#include <string>
10
11
namespace
TgBot
{
12
18
class
GameHighScore
{
19
public
:
20
typedef
std::shared_ptr<GameHighScore>
Ptr
;
21
25
std::string
position
;
26
30
User::Ptr
user
;
31
35
std::int32_t
score
;
36
};
37
}
38
39
#endif
//TGBOT_GAMEHIGHSCORE_H
PhotoSize.h
User.h
TgBot::GameHighScore
This object represents one row of the high scores table for a game.
Definition
GameHighScore.h:18
TgBot::GameHighScore::Ptr
std::shared_ptr< GameHighScore > Ptr
Definition
GameHighScore.h:20
TgBot::GameHighScore::position
std::string position
Position in high score table for the game.
Definition
GameHighScore.h:25
TgBot::GameHighScore::user
User::Ptr user
User.
Definition
GameHighScore.h:30
TgBot::GameHighScore::score
std::int32_t score
Score.
Definition
GameHighScore.h:35
TgBot::User::Ptr
std::shared_ptr< User > Ptr
Definition
User.h:18
TgBot
Definition
Api.h:40
include
tgbot
types
GameHighScore.h
Generated on Tue Jun 11 2024 00:46:35 for tgbot-cpp by
1.11.0