OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
games.game_controller.GameController Class Reference

Own game lifecycle state independently of any concrete UI toolkit. More...

Inheritance diagram for games.game_controller.GameController:
ui.games.games_request_handler_if.GamesRequestHandlerIf

Public Member Functions

None set_games_ui (self, GamesUiIf|None games_ui)
 Attach a games UI and wire its semantic request handler.
 
None start (self)
 Publish cached state immediately and scan only unresolved games.
 
None request_refresh_games (self)
 Handle a request for a complete inventory refresh.
 
None request_install_game (self, str game_id)
 Handle a semantic install request.
 
None request_launch_game (self, str game_id)
 Handle a launch request after the frontend has created its runtime host.
 
None request_stop_game (self)
 Stop the active game without waiting for its process on the UI thread.
 

Detailed Description

Own game lifecycle state independently of any concrete UI toolkit.


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