![]() |
Nakama C++ Client SDK 2.5.1
Client for Nakama Server
|
A tournament on the server. More...
#include <NTournament.h>
Public Attributes | |
std::string | id |
The ID of the tournament. More... | |
std::string | title |
The title for the tournament. More... | |
std::string | description |
The description of the tournament. May be blank. More... | |
uint32_t | category = 0 |
The category of the tournament. e.g. "vip" could be category 1. More... | |
uint32_t | sortOrder = 0 |
ASC or DESC sort mode of scores in the tournament. More... | |
uint32_t | size = 0 |
The current number of players in the tournament. More... | |
uint32_t | maxSize = 0 |
The maximum number of players for the tournament. More... | |
uint32_t | maxNumScore = 0 |
The maximum score updates allowed per player for the current tournament. More... | |
bool | canEnter = false |
True if the tournament is active and can enter. A computed value. More... | |
NTimestamp | createTime = 0 |
The UNIX time when the tournament was created. More... | |
NTimestamp | startTime = 0 |
The UNIX time when the tournament will start. More... | |
NTimestamp | endTime = 0 |
The UNIX time when the tournament will be stopped. More... | |
uint32_t | endActive = 0 |
The UNIX time when the tournament stops being active until next reset. A computed value. More... | |
uint32_t | nextReset = 0 |
The UNIX time when the tournament is next playable. A computed value. More... | |
uint32_t | duration = 0 |
Duration of the tournament in seconds. More... | |
uint32_t | startActive = 0 |
The UNIX time when the tournament start being active. A computed value. More... | |
std::string | metadata |
Additional information stored as a JSON object. More... | |
A tournament on the server.
bool NTournament::canEnter = false |
True if the tournament is active and can enter. A computed value.
uint32_t NTournament::category = 0 |
The category of the tournament. e.g. "vip" could be category 1.
NTimestamp NTournament::createTime = 0 |
The UNIX time when the tournament was created.
std::string NTournament::description |
The description of the tournament. May be blank.
uint32_t NTournament::duration = 0 |
Duration of the tournament in seconds.
uint32_t NTournament::endActive = 0 |
The UNIX time when the tournament stops being active until next reset. A computed value.
NTimestamp NTournament::endTime = 0 |
The UNIX time when the tournament will be stopped.
std::string NTournament::id |
The ID of the tournament.
uint32_t NTournament::maxNumScore = 0 |
The maximum score updates allowed per player for the current tournament.
uint32_t NTournament::maxSize = 0 |
The maximum number of players for the tournament.
std::string NTournament::metadata |
Additional information stored as a JSON object.
uint32_t NTournament::nextReset = 0 |
The UNIX time when the tournament is next playable. A computed value.
uint32_t NTournament::size = 0 |
The current number of players in the tournament.
uint32_t NTournament::sortOrder = 0 |
ASC or DESC sort mode of scores in the tournament.
uint32_t NTournament::startActive = 0 |
The UNIX time when the tournament start being active. A computed value.
NTimestamp NTournament::startTime = 0 |
The UNIX time when the tournament will start.
std::string NTournament::title |
The title for the tournament.