opengsq.responses.quake1 package

Submodules

opengsq.responses.quake1.player module

class opengsq.responses.quake1.player.Player(id: int, score: int, time: int, ping: int, name: str, skin: str, color1: int, color2: int)

Bases: object

Represents a player in the game.

id: int

The player’s ID.

score: int

The player’s score.

time: int

The player’s time.

ping: int

The player’s ping.

name: str

The player’s name.

skin: str

The player’s skin.

color1: int

The player’s first color.

color2: int

The player’s second color.

opengsq.responses.quake1.status module

class opengsq.responses.quake1.status.Status(info: dict[str, str], players: list[Player])

Bases: object

Represents the status of the server.

info: dict[str, str]

The server information.

players: list[Player]

The list of players.

Module contents