opengsq.responses.quake2 package

Submodules

opengsq.responses.quake2.player module

class opengsq.responses.quake2.player.Player(frags: int, ping: int, name: str, address: str)

Bases: object

Represents a player in the game.

frags: int

The player’s frags.

ping: int

The player’s ping.

name: str

The player’s name.

address: str

The player’s address.

opengsq.responses.quake2.status module

class opengsq.responses.quake2.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