Nuclide
Software Development Kit for id Tech
servers.h File Reference

Go to the source code of this file.

Enumerations

enum  serverGame_t {
  SERVERGAME_TITLE , SERVERGAME_ADDRESS , SERVERGAME_PING , SERVERGAME_PLAYERS ,
  SERVERGAME_MAXPLAYERS , SERVERGAME_MAP , SERVERGAME_GAME
}
 Options for querying Game Library entry information using GameLibrary_GetInfo() More...
 

Functions

__variant Servers_GetInfo (int, serverGame_t)
 Retrieves fields for a given game. More...
 

Enumeration Type Documentation

◆ serverGame_t

Options for querying Game Library entry information using GameLibrary_GetInfo()

Enumerator
SERVERGAME_TITLE 

(string) The title of the game.

E.g. "Action Game"

SERVERGAME_ADDRESS 

(string) The game directory name.

E.g. "data"

SERVERGAME_PING 

(int) The directory to be loaded before the game directory.

SERVERGAME_PLAYERS 

(int) The first game directory to be loaded.

SERVERGAME_MAXPLAYERS 

(int) The game its official website.

SERVERGAME_MAP 

(string) Version number string.

SERVERGAME_GAME 

(string) The size of the game, in bytes.

Function Documentation

◆ Servers_GetInfo()

__variant Servers_GetInfo ( int  serverID,
serverGame_t  infoType 
)

Retrieves fields for a given game.

See gameInfo_t for a list of fields you can query.