opengsq.responses.cod5 package
Submodules
opengsq.responses.cod5.cod5_status module
opengsq.responses.cod5.info module
- opengsq.responses.cod5.info.translate_gametype(gametype_code: str) str
Translate CoD5 gametype codes to German display names.
- Parameters:
gametype_code – The gametype code from the server
- Returns:
German display name for the gametype
- class opengsq.responses.cod5.info.Info(data: dict[str, str])
Bases:
objectRepresents the info response from a Call of Duty 5: World at War server.
- challenge: str = ''
Challenge string.
- protocol: str = ''
Protocol version.
- hostname: str = ''
Server hostname.
- mapname: str = ''
Current map name.
- clients: str = ''
Current clients.
- sv_maxclients: str = ''
Maximum clients.
- gametype: str = ''
Game type.
- pure: str = ''
Pure server.
- hw: str = ''
Hardware information.
- mod: str = ''
Mod information.
- voice: str = ''
Voice chat enabled.
- pb: str = ''
PunkBuster enabled.
- property gametype_translated: str
Get the translated gametype name.
- Returns:
German display name for the gametype
opengsq.responses.cod5.status module
- opengsq.responses.cod5.status.translate_gametype(gametype_code: str) str
Translate CoD5 gametype codes to German display names.
- Parameters:
gametype_code – The gametype code from the server
- Returns:
German display name for the gametype
- class opengsq.responses.cod5.status.Status(data: dict[str, str])
Bases:
objectRepresents the status response from a Call of Duty 5: World at War server.
- fxfrustumCutoff: str = ''
FX frustum cutoff setting.
- g_compassShowEnemies: str = ''
Compass show enemies setting.
- g_gametype: str = ''
Game type.
- gamename: str = ''
Game name.
- mapname: str = ''
Current map name.
- penetrationCount: str = ''
Penetration count setting.
- protocol: str = ''
Protocol version.
- r_watersim_enabled: str = ''
Water simulation enabled.
- shortversion: str = ''
Short version string.
- sv_allowAnonymous: str = ''
Allow anonymous players.
- sv_disableClientConsole: str = ''
Client console disabled.
- sv_floodprotect: str = ''
Flood protection.
- sv_hostname: str = ''
Server hostname.
- sv_maxclients: str = ''
Maximum clients.
- sv_maxPing: str = ''
Maximum ping.
- sv_maxRate: str = ''
Maximum rate.
- sv_minPing: str = ''
Minimum ping.
- sv_privateClients: str = ''
Private clients.
- sv_punkbuster: str = ''
PunkBuster enabled.
- sv_pure: str = ''
Pure server.
- sv_voice: str = ''
Voice chat.
- ui_maxclients: str = ''
UI maximum clients.
- pswrd: str = ''
Password protected.
- mod: str = ''
Mod information.
- property g_gametype_translated: str
Get the translated gametype name.
- Returns:
German display name for the gametype