opengsq.responses.w40kdow package

Submodules

opengsq.responses.w40kdow.status module

class opengsq.responses.w40kdow.status.Status(data: dict = None)

Bases: object

Represents the status response from a Warhammer 40K Dawn of War server broadcast.

property expansion_name: str

Get the human-readable expansion name based on mod_name.

Returns:

Expansion name

guid: str = ''

Server GUID (unique identifier).

hostname: str = ''

Server hostname/name.

current_players: int = 0

Current number of players.

max_players: int = 0

Maximum number of players.

ip_address: str = ''

Server IP address.

port: int = 6112

Server port (default: 6112).

magic_marker: str = ''

Magic marker (should be ‘WODW’).

build_number: int = 0

Build number (expected: 1001).

version: str = ''

Game version (e.g., ‘1.51’, ‘1.1’).

mod_name: str = ''

Mod/expansion identifier (w40k, wxp, dxp2).

game_title: str = ''

Full game title.

map_scenario: str = ''

Map/scenario name.

faction_codes: List[str] = None

List of faction codes (8 factions).

map_features: List[str] = None

List of map features.

Module contents