opengsq.responses.directplay package
Submodules
opengsq.responses.directplay.status module
- class opengsq.responses.directplay.status.DirectPlayGameType(value)
Bases:
IntEnumDirectPlay Game Types
- UNKNOWN = 0
- AGE_OF_EMPIRES_1 = 1
- AGE_OF_EMPIRES_2 = 2
- class opengsq.responses.directplay.status.Player(name: str, civilization: str = '', team: int = 0, color: int = 0, ready: bool = False)
Bases:
objectDirectPlay Player Information
- name: str
- civilization: str = ''
- team: int = 0
- color: int = 0
- ready: bool = False
- class opengsq.responses.directplay.status.Status(name: str, game_type: str, map: str, num_players: int, max_players: int, password_protected: bool, game_version: str, game_mode: str, difficulty: str, speed: str, players: List[Player], raw: dict[str, str | int | bool | list])
Bases:
objectDirectPlay Status Response
- name: str
- game_type: str
- map: str
- num_players: int
- max_players: int
- password_protected: bool
- game_version: str
- game_mode: str
- difficulty: str
- speed: str
- raw: dict[str, str | int | bool | list]