opengsq package
Subpackages
- opengsq.exceptions package
- opengsq.protocols package
- Submodules
- opengsq.protocols.ase module
- opengsq.protocols.battlefield module
- opengsq.protocols.doom3 module
- opengsq.protocols.eos module
- opengsq.protocols.fivem module
- opengsq.protocols.flatout2 module
Flatout2
Flatout2.full_name
Flatout2.FLATOUT2_PORT
Flatout2.REQUEST_HEADER
Flatout2.RESPONSE_HEADERS
Flatout2.GAME_IDENTIFIER
Flatout2.SESSION_ID
Flatout2.COMMAND_QUERY
Flatout2.PACKET_END
Flatout2.CAR_TYPE_BASE_MAPPINGS
Flatout2.UPGRADE_SETTING_MAPPINGS
Flatout2.GAME_MODE_BASE_MAPPINGS
Flatout2.RACE_DAMAGE_MAPPINGS
Flatout2.DERBY_DAMAGE_MAPPINGS
Flatout2.NITRO_MULTI_MAPPINGS
Flatout2.TRACK_TYPE_NAMES
Flatout2.PRECISE_TRACK_MAPPING
Flatout2.get_status()
- opengsq.protocols.gamespy1 module
- opengsq.protocols.gamespy2 module
- opengsq.protocols.gamespy3 module
- opengsq.protocols.gamespy4 module
- opengsq.protocols.kaillera module
- opengsq.protocols.killingfloor module
- opengsq.protocols.minecraft module
- opengsq.protocols.nadeo module
- opengsq.protocols.palworld module
- opengsq.protocols.quake1 module
- opengsq.protocols.quake2 module
- opengsq.protocols.quake3 module
- opengsq.protocols.raknet module
- opengsq.protocols.renegadex module
- opengsq.protocols.samp module
- opengsq.protocols.satisfactory module
- opengsq.protocols.scum module
- opengsq.protocols.source module
- opengsq.protocols.teamspeak3 module
- opengsq.protocols.toxikk module
- opengsq.protocols.udk module
- opengsq.protocols.unreal2 module
- opengsq.protocols.ut3 module
- opengsq.protocols.vcmp module
- opengsq.protocols.warcraft3 module
GameFlags
GameFlags.CUSTOM_GAME
GameFlags.SINGLE_PLAYER
GameFlags.LADDER_1V1
GameFlags.LADDER_2V2
GameFlags.LADDER_3V3
GameFlags.LADDER_4V4
GameFlags.TEAM_LADDER
GameFlags.SAVED_GAME
GameFlags.TYPE_MASK
GameFlags.SIGNED_MAP
GameFlags.PRIVATE_GAME
GameFlags.CREATOR_USER
GameFlags.CREATOR_BLIZZARD
GameFlags.CREATOR_MASK
GameFlags.MAP_TYPE_MELEE
GameFlags.MAP_TYPE_SCENARIO
GameFlags.MAP_TYPE_MASK
GameFlags.SIZE_SMALL
GameFlags.SIZE_MEDIUM
GameFlags.SIZE_LARGE
GameFlags.SIZE_MASK
GameFlags.OBS_FULL
GameFlags.OBS_ON_DEFEAT
GameFlags.OBS_NONE
GameFlags.OBS_MASK
GameFlags.FILTER_MASK
GameSettingFlags
GameSettingFlags.SPEED_SLOW
GameSettingFlags.SPEED_NORMAL
GameSettingFlags.SPEED_FAST
GameSettingFlags.SPEED_MASK
GameSettingFlags.TERRAIN_HIDDEN
GameSettingFlags.TERRAIN_EXPLORED
GameSettingFlags.TERRAIN_VISIBLE
GameSettingFlags.TERRAIN_DEFAULT
GameSettingFlags.TERRAIN_MASK
GameSettingFlags.OBS_NONE
GameSettingFlags.OBS_ENABLED
GameSettingFlags.OBS_ON_DEFEAT
GameSettingFlags.OBS_FULL
GameSettingFlags.OBS_REFEREES
GameSettingFlags.OBS_MASK
GameSettingFlags.TEAMS_TOGETHER
GameSettingFlags.TEAMS_FIXED
GameSettingFlags.SHARED_CONTROL
GameSettingFlags.RANDOM_HERO
GameSettingFlags.RANDOM_RACE
SlotStatus
Warcraft3
- opengsq.protocols.warfork module
- opengsq.protocols.won module
- Module contents
- opengsq.rcon_protocols package
- opengsq.responses package
- Subpackages
- opengsq.responses.ase package
- opengsq.responses.battlefield package
- opengsq.responses.doom3 package
- opengsq.responses.eos package
- opengsq.responses.flatout2 package
- opengsq.responses.gamespy1 package
- opengsq.responses.gamespy2 package
- opengsq.responses.kaillera package
- opengsq.responses.killingfloor package
- opengsq.responses.minecraft package
- opengsq.responses.nadeo package
- opengsq.responses.palworld package
- opengsq.responses.quake1 package
- opengsq.responses.quake2 package
- opengsq.responses.raknet package
- opengsq.responses.renegadex package
- opengsq.responses.samp package
- opengsq.responses.satisfactory package
- opengsq.responses.scum package
- opengsq.responses.source package
- Submodules
- opengsq.responses.source.environment module
- opengsq.responses.source.extra_data_flag module
- opengsq.responses.source.gold_source_info module
- opengsq.responses.source.partial_info module
- opengsq.responses.source.player module
- opengsq.responses.source.server_type module
- opengsq.responses.source.source_info module
- opengsq.responses.source.vac module
- opengsq.responses.source.visibility module
- Module contents
- opengsq.responses.toxikk package
- opengsq.responses.udk package
- opengsq.responses.unreal2 package
- opengsq.responses.ut3 package
- opengsq.responses.vcmp package
- opengsq.responses.warcraft3 package
- opengsq.responses.warfork package
- Submodules
- opengsq.responses.flatout2 module
- Module contents
- Subpackages
Submodules
opengsq.binary_reader module
- class opengsq.binary_reader.BinaryReader(data: bytes)
Bases:
object
- remaining_bytes() int
- is_end() bool
- prepend_bytes(data)
- read() bytes
- read_byte() int
- read_bytes(count: int) bytes
- read_short(unsigned=True) int
- read_long(unsigned=False) int
- read_long_long() int
- read_float() float
- read_string(delimiters=[b'\x00'], encoding='utf-8', errors='ignore') str
- read_pascal_string(encoding='utf-8', errors='ignore')
opengsq.cli module
- class opengsq.cli.CLI
Bases:
object
- register(parser: ArgumentParser)
- async run(args: Sequence[str]) str
- opengsq.cli.main()
- async opengsq.cli.main_async()
opengsq.protocol_base module
opengsq.protocol_socket module
- class opengsq.protocol_socket.Socket(kind: SocketKind)
Bases:
object
- async static gethostbyname(hostname: str)
- class Protocol(timeout: float)
Bases:
Protocol
- async recv()
- connection_made(transport)
Called when a connection is made.
The argument is the transport representing the pipe connection. To receive data, wait for data_received() calls. When the connection is closed, connection_lost() is called.
- connection_lost(exc)
Called when the connection is lost or closed.
The argument is an exception object or None (the latter meaning a regular EOF is received or the connection was aborted or closed).
- data_received(data)
Called when some data is received.
The argument is a bytes object.
- eof_received()
Called when the other end calls write_eof() or equivalent.
If this returns a false value (including None), the transport will close itself. If it returns a true value, closing the transport is up to the protocol.
- datagram_received(data, addr)
- error_received(exc)
- bind_port(port: int)
- settimeout(value: float)
- async connect(remote_addr)
- close()
- send(data: bytes)
- async recv(size: int = None) bytes
- class opengsq.protocol_socket.UdpClient
Bases:
Socket
- async static communicate(protocol: ProtocolBase, data: bytes, source_port: int = None)
- class opengsq.protocol_socket.TcpClient
Bases:
Socket
- async static communicate(protocol: ProtocolBase, data: bytes)
opengsq.version module
Module contents
OpenGSQ Python Library
Python library for querying game servers
- copyright:
2021 BattlefieldDuck
- license:
MIT, see LICENSE for more details.