OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
games.debian_game_installer.DebianGameInstaller Class Reference

Install and execute games from Debian regardless of how Debian is hosted. More...

Inheritance diagram for games.debian_game_installer.DebianGameInstaller:
games.game_installer_if.GameInstallerIf

Public Member Functions

str backend_id (self)
 Return the stable identifier used for persistent inventory entries.
 
bool is_available (self, GameDefinition game)
 Return whether this environment can install a game.
 
bool is_installed (self, GameDefinition game)
 Return whether the configured Debian package is fully installed.
 
None install (self, GameDefinition game)
 Install a game or raise an exception on failure.
 
Sequence[str] launch_command (self, GameDefinition game)
 Return a host command that executes game graphically inside Debian.
 
tuple[str|None, str|None] window_selectors (self, GameDefinition game)
 Return proot-only X11 selectors needed when wrapper PIDs hide the client.
 
bool relax_window_size_hints (self, GameDefinition game)
 Return whether this proot game may be sized below its desktop hint.
 

Static Public Member Functions

bool supported ()
 Return whether a Debian environment is available.
 

Detailed Description

Install and execute games from Debian regardless of how Debian is hosted.

Member Function Documentation

◆ backend_id()

str games.debian_game_installer.DebianGameInstaller.backend_id (   self)

Return the stable identifier used for persistent inventory entries.

Returns
Stable backend identifier.

Reimplemented from games.game_installer_if.GameInstallerIf.

◆ install()

None games.debian_game_installer.DebianGameInstaller.install (   self,
GameDefinition  game 
)

Install a game or raise an exception on failure.

Parameters
gameConfigured game definition to install.

Reimplemented from games.game_installer_if.GameInstallerIf.

◆ is_available()

bool games.debian_game_installer.DebianGameInstaller.is_available (   self,
GameDefinition  game 
)

Return whether this environment can install a game.

Parameters
gameConfigured game definition to query.
Returns
True when this backend can install the game, otherwise False.

Reimplemented from games.game_installer_if.GameInstallerIf.


The documentation for this class was generated from the following file: