opengsq.responses.gamespy1 package

Submodules

opengsq.responses.gamespy1.status module

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

Bases: object

Represents the server status.

info: dict[str, str]

Server’s info. If is_XServerQuery is True, then it includes infoxserverqueryrulesxserverquery, else basicinforules

players: list[dict[str, str]]

Server’s players.

teams: list[dict[str, str]]

Server’s teams. Only when is_x_server_query is True.

property is_XServerQuery: bool

Indicates whether the response is XServerQuery or old response.

Module contents