opengsq.responses.samp package
Submodules
opengsq.responses.samp.player module
opengsq.responses.samp.status module
- class opengsq.responses.samp.status.Status(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.
- password: bool
A value indicating 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.