+
    Ki  c                   sN    R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt  ! R R4      t	R# )zService game module)settings)sql)ServiceGameCollection)ServiceMediac                   s>   a  ] tR t^	t o Rt]t]t]3t	R t
R tRtV tR# )ServiceGamez1Representation of a game from a 3rd party servicec                s    R V n         R V n        R V n        R V n        R V n        R V n        R V n        R V n        R V n        R # )N)	appidgame_idrunnernamesluglutris_sluglogoicondetails)selfs   &A/usr/lib/python3.14/site-packages/lutris/services/service_game.py__init__ZServiceGame.__init__   sB    
				    c                s   RV P                   RV P                  RV P                  RV P                  RV P                  RV P
                  RV P                  R\        V P                  4      /p\        P                  ! V P                   V P                  4      pV'       d3   \        P                  ! \        P                  R	VR
VR
,          /4       R# \        P                  ! \        P                  R	V4       R# )zSave this game to databaseservicer   r   r	   r
   r   r   r   Zservice_gamesZidN)r   r   r   r	   r
   r   r   Zstrr   r   Zget_gamer   Z	db_updater    ZDB_PATHZ	db_insert)r   Z	game_dataZexisting_games   &  r   saveZServiceGame.save   s     t||TZZDIIDII4++DIIDIIs4<<(	
	 .66t||TZZPMM(**OY}]aObHcdMM(**OYGr   )	r   r   r   r   r   r
   r   r   r	   N)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__ZNotImplementedr   Zinstaller_slugr   Zmediasr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   	   s*     ;G#N_F	H Hr   r   N)
r   Zlutrisr    Zlutris.databaser   Zlutris.database.servicesr   Zlutris.services.service_mediar   r   ) r   r   <module>r      s        : 6"H "Hr   