opengsq.responses.vcmp package

Submodules

opengsq.responses.vcmp.player module

class opengsq.responses.vcmp.player.Player(name: str)

Bases: object

Represents a player in the game.

name: str

The player’s name.

opengsq.responses.vcmp.status module

class opengsq.responses.vcmp.status.Status(version: str, password: bool, num_players: int, max_players: int, server_name: str, game_type: str, language: str)

Bases: object

Represents the status response from a server.

version: str

The version of the server.

password: bool

Indicates whether a password is required to connect to the server.

num_players: int

The number of players currently connected to the server.

max_players: int

The maximum number of players that can connect to the server.

server_name: str

The name of the server.

game_type: str

The type of game being played on the server.

language: str

The language of the server.

Module contents