Skip to content

RallyHereStatsBase Struct

Base stats to be exported by the game host adapter.

Summary

KindViewDescription
const char *nameName of the server.
const char *mapMap the server is running.
const char *folderFolder containing the game files.
const char *gameName of the game.
int32_tidNumeric ID of the game. Potentially the Steam App ID.
uint8_tplayersNumber of players currently on the server.
uint8_tmax_playersMaximum number of players the server can hold.
uint8_tbotsNumber of bots on the server.
uint8_tserver_typeType of server. Currently ‘d’ for dedicated, ‘l’ for listen, ‘p’ for SourceTV.
uint8_tenvironmentEnvironment the server is running in. Currently ‘w’ for Windows, ‘l’ for Linux, ‘m’ for Mac.
uint8_tvisibilityVisibility of the server. Currently ‘0’ for public and ‘1’ for private.
uint8_tanticheatAnti-cheat running on the server. Currently ‘0’ for unsecured, ‘1’ for secured.
const char *versionVersion of the game installed on the server.

Public-attrib

name

const char* RallyHereStatsBase::name

Name of the server.

map

const char* RallyHereStatsBase::map

Map the server is running.

folder

const char* RallyHereStatsBase::folder

Folder containing the game files.

game

const char* RallyHereStatsBase::game

Name of the game.

id

int32_t RallyHereStatsBase::id

Numeric ID of the game. Potentially the Steam App ID.

players

uint8_t RallyHereStatsBase::players

Number of players currently on the server.

max_players

uint8_t RallyHereStatsBase::max_players

Maximum number of players the server can hold.

bots

uint8_t RallyHereStatsBase::bots

Number of bots on the server.

server_type

uint8_t RallyHereStatsBase::server_type

Type of server. Currently ‘d’ for dedicated, ‘l’ for listen, ‘p’ for SourceTV.

environment

uint8_t RallyHereStatsBase::environment

Environment the server is running in. Currently ‘w’ for Windows, ‘l’ for Linux, ‘m’ for Mac.

visibility

uint8_t RallyHereStatsBase::visibility

Visibility of the server. Currently ‘0’ for public and ‘1’ for private.

anticheat

uint8_t RallyHereStatsBase::anticheat

Anti-cheat running on the server. Currently ‘0’ for unsecured, ‘1’ for secured.

version

const char* RallyHereStatsBase::version

Version of the game installed on the server.