opengsq package
Subpackages
- opengsq.exceptions package
- opengsq.protocols package
- Submodules
- opengsq.protocols.aoe1 module
- opengsq.protocols.aoe2 module
- opengsq.protocols.ase module
- opengsq.protocols.avp2 module
- opengsq.protocols.battlefield module
- opengsq.protocols.battlefield2 module
- opengsq.protocols.cod1 module
- opengsq.protocols.cod4 module
- opengsq.protocols.cod5 module
- opengsq.protocols.directplay module
- opengsq.protocols.doom3 module
- opengsq.protocols.eldewrito module
- opengsq.protocols.eos module
- opengsq.protocols.fivem module
- opengsq.protocols.flatout2 module
Flatout2Flatout2.full_nameFlatout2.FLATOUT2_PORTFlatout2.REQUEST_HEADERFlatout2.RESPONSE_HEADERSFlatout2.GAME_IDENTIFIERFlatout2.SESSION_IDFlatout2.COMMAND_QUERYFlatout2.PACKET_ENDFlatout2.CAR_TYPE_BASE_MAPPINGSFlatout2.UPGRADE_SETTING_MAPPINGSFlatout2.GAME_MODE_BASE_MAPPINGSFlatout2.RACE_DAMAGE_MAPPINGSFlatout2.DERBY_DAMAGE_MAPPINGSFlatout2.NITRO_MULTI_MAPPINGSFlatout2.TRACK_TYPE_NAMESFlatout2.PRECISE_TRACK_MAPPINGFlatout2.get_status()
- opengsq.protocols.gamespy1 module
- opengsq.protocols.gamespy2 module
- opengsq.protocols.gamespy3 module
- opengsq.protocols.gamespy4 module
- opengsq.protocols.halo1 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.ssc module
- opengsq.protocols.stronghold_ce module
- opengsq.protocols.stronghold_crusader module
- opengsq.protocols.teamspeak3 module
- opengsq.protocols.toxikk module
- opengsq.protocols.trackmania_nations module
- opengsq.protocols.udk module
- opengsq.protocols.unreal2 module
- opengsq.protocols.ut3 module
- opengsq.protocols.vcmp module
- opengsq.protocols.w40kdow module
- opengsq.protocols.warcraft3 module
GameFlagsGameFlags.CUSTOM_GAMEGameFlags.SINGLE_PLAYERGameFlags.LADDER_1V1GameFlags.LADDER_2V2GameFlags.LADDER_3V3GameFlags.LADDER_4V4GameFlags.TEAM_LADDERGameFlags.SAVED_GAMEGameFlags.TYPE_MASKGameFlags.SIGNED_MAPGameFlags.PRIVATE_GAMEGameFlags.CREATOR_USERGameFlags.CREATOR_BLIZZARDGameFlags.CREATOR_MASKGameFlags.MAP_TYPE_MELEEGameFlags.MAP_TYPE_SCENARIOGameFlags.MAP_TYPE_MASKGameFlags.SIZE_SMALLGameFlags.SIZE_MEDIUMGameFlags.SIZE_LARGEGameFlags.SIZE_MASKGameFlags.OBS_FULLGameFlags.OBS_ON_DEFEATGameFlags.OBS_NONEGameFlags.OBS_MASKGameFlags.FILTER_MASK
GameSettingFlagsGameSettingFlags.SPEED_SLOWGameSettingFlags.SPEED_NORMALGameSettingFlags.SPEED_FASTGameSettingFlags.SPEED_MASKGameSettingFlags.TERRAIN_HIDDENGameSettingFlags.TERRAIN_EXPLOREDGameSettingFlags.TERRAIN_VISIBLEGameSettingFlags.TERRAIN_DEFAULTGameSettingFlags.TERRAIN_MASKGameSettingFlags.OBS_NONEGameSettingFlags.OBS_ENABLEDGameSettingFlags.OBS_ON_DEFEATGameSettingFlags.OBS_FULLGameSettingFlags.OBS_REFEREESGameSettingFlags.OBS_MASKGameSettingFlags.TEAMS_TOGETHERGameSettingFlags.TEAMS_FIXEDGameSettingFlags.SHARED_CONTROLGameSettingFlags.RANDOM_HEROGameSettingFlags.RANDOM_RACE
SlotStatusWarcraft3
- opengsq.protocols.warfork module
- opengsq.protocols.won module
- Module contents
- opengsq.rcon_protocols package
- opengsq.responses package
- Subpackages
- opengsq.responses.aoe1 package
- opengsq.responses.aoe2 package
- opengsq.responses.ase package
- opengsq.responses.battlefield package
- opengsq.responses.cod1 package
- opengsq.responses.cod4 package
- opengsq.responses.cod5 package
- opengsq.responses.directplay package
- opengsq.responses.doom3 package
- opengsq.responses.eldewrito 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.stronghold_ce package
- opengsq.responses.stronghold_crusader package
- opengsq.responses.toxikk package
- opengsq.responses.trackmania_nations package
- opengsq.responses.udk package
- opengsq.responses.unreal2 package
- opengsq.responses.ut3 package
- opengsq.responses.vcmp package
- opengsq.responses.w40kdow package
- opengsq.responses.warcraft3 package
- opengsq.responses.warfork package
- 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.