opengsq.responses.unreal2 package

Submodules

opengsq.responses.unreal2.player module

class opengsq.responses.unreal2.player.Player(id: int, name: str, ping: int, score: int, stats_id: int)

Bases: object

Represents a player in the game.

id: int

The ID of the player.

name: str

The name of the player.

ping: int

The ping of the player.

score: int

The score of the player.

stats_id: int

The stats ID of the player.

opengsq.responses.unreal2.status module

class opengsq.responses.unreal2.status.Status(server_id: int, server_ip: str, game_port: int, query_port: int, server_name: str, map_name: str, game_type: str, num_players: int, max_players: int, ping: int, flags: int, skill: str)

Bases: object

Represents the status of a server.

server_id: int

The server ID.

server_ip: str

The IP address of the server.

game_port: int

The game port of the server.

query_port: int

The query port of the server.

server_name: str

The name of the server.

map_name: str

The name of the map.

game_type: str

The type of the game.

num_players: int

The number of players.

max_players: int

The maximum number of players.

ping: int

The ping.

flags: int

The flags.

skill: str

The skill level.

Module contents