![]() |
Nakama C++ Client SDK 2.5.1
Client for Nakama Server
|
Represents a complete leaderboard record with all scores and associated metadata. More...
#include <NLeaderboardRecord.h>
Public Attributes | |
| std::string | leaderboardId |
| The ID of the leaderboard this score belongs to. More... | |
| std::string | ownerId |
| The ID of the score owner, usually a user or group. More... | |
| std::string | username |
| The username of the score owner, if the owner is a user. More... | |
| int64_t | score = 0 |
| The score value. More... | |
| int64_t | subscore = 0 |
| An optional subscore value. More... | |
| int32_t | numScore = 0 |
| The number of submissions to this score record. More... | |
| uint32_t | maxNumScore = 0 |
| The maximum number of score updates allowed by the owner. More... | |
| std::string | metadata |
| Metadata. More... | |
| NTimestamp | createTime = 0 |
| The UNIX time when the leaderboard record was created. More... | |
| NTimestamp | updateTime = 0 |
| The UNIX time when the leaderboard record was updated. More... | |
| NTimestamp | expiryTime = 0 |
| The UNIX time when the leaderboard record expires. More... | |
| int64_t | rank = 0 |
| The rank of this record. More... | |
Represents a complete leaderboard record with all scores and associated metadata.
| NTimestamp NLeaderboardRecord::createTime = 0 |
The UNIX time when the leaderboard record was created.
| NTimestamp NLeaderboardRecord::expiryTime = 0 |
The UNIX time when the leaderboard record expires.
| std::string NLeaderboardRecord::leaderboardId |
The ID of the leaderboard this score belongs to.
| uint32_t NLeaderboardRecord::maxNumScore = 0 |
The maximum number of score updates allowed by the owner.
| std::string NLeaderboardRecord::metadata |
Metadata.
| int32_t NLeaderboardRecord::numScore = 0 |
The number of submissions to this score record.
| std::string NLeaderboardRecord::ownerId |
The ID of the score owner, usually a user or group.
| int64_t NLeaderboardRecord::rank = 0 |
The rank of this record.
| int64_t NLeaderboardRecord::score = 0 |
The score value.
| int64_t NLeaderboardRecord::subscore = 0 |
An optional subscore value.
| NTimestamp NLeaderboardRecord::updateTime = 0 |
The UNIX time when the leaderboard record was updated.
| std::string NLeaderboardRecord::username |
The username of the score owner, if the owner is a user.