🎨 SourceIterator can yield addtitional data
SourceIterator-s can yield a game and a tuple of additional data. This data will be passed to the Store, Pipeline and Managers.
This commit is contained in:
@@ -10,7 +10,7 @@ class DisplayManager(Manager):
|
||||
|
||||
run_after = set((SteamAPIManager, SGDBManager))
|
||||
|
||||
def manager_logic(self, game: Game) -> None:
|
||||
def manager_logic(self, game: Game, _additional_data: tuple) -> None:
|
||||
# TODO decouple a game from its widget
|
||||
shared.win.games[game.game_id] = game
|
||||
game.update()
|
||||
|
||||
Reference in New Issue
Block a user