Nakama C++ Client SDK 2.5.1
Client for Nakama Server
NTournament Struct Reference

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...
 

Detailed Description

A tournament on the server.

Member Data Documentation

◆ canEnter

bool NTournament::canEnter = false

True if the tournament is active and can enter. A computed value.

◆ category

uint32_t NTournament::category = 0

The category of the tournament. e.g. "vip" could be category 1.

◆ createTime

NTimestamp NTournament::createTime = 0

The UNIX time when the tournament was created.

◆ description

std::string NTournament::description

The description of the tournament. May be blank.

◆ duration

uint32_t NTournament::duration = 0

Duration of the tournament in seconds.

◆ endActive

uint32_t NTournament::endActive = 0

The UNIX time when the tournament stops being active until next reset. A computed value.

◆ endTime

NTimestamp NTournament::endTime = 0

The UNIX time when the tournament will be stopped.

◆ id

std::string NTournament::id

The ID of the tournament.

◆ maxNumScore

uint32_t NTournament::maxNumScore = 0

The maximum score updates allowed per player for the current tournament.

◆ maxSize

uint32_t NTournament::maxSize = 0

The maximum number of players for the tournament.

◆ metadata

std::string NTournament::metadata

Additional information stored as a JSON object.

◆ nextReset

uint32_t NTournament::nextReset = 0

The UNIX time when the tournament is next playable. A computed value.

◆ size

uint32_t NTournament::size = 0

The current number of players in the tournament.

◆ sortOrder

uint32_t NTournament::sortOrder = 0

ASC or DESC sort mode of scores in the tournament.

◆ startActive

uint32_t NTournament::startActive = 0

The UNIX time when the tournament start being active. A computed value.

◆ startTime

NTimestamp NTournament::startTime = 0

The UNIX time when the tournament will start.

◆ title

std::string NTournament::title

The title for the tournament.


The documentation for this struct was generated from the following file: