10-11-2020, 06:19 AM
Hello!
I try to export list of multi-player games.
In my mind i had 2 choices:
- Manually filtered game in the view, then exporting the view with my extension
- Filtering list of games from database in my extension and then export it
My problem is i found nothing to realize that in Api docs.
I tried the PlayniteApi.MainView.SelectedGames but it export only manually selected games, i miss a CurrentViewGames method to get all game currently displayed depending of filters/display options choosed, or a method to allow my extension to select all the games from the current view (without manually selecting them)
Then i tried to use IGameDatabase too, but i miss arguments to give to method for filtering the list with tags=multiplayer.
Can someone point me where in the APIdoc i can found something to help me with this kind of needs?
I try to export list of multi-player games.
In my mind i had 2 choices:
- Manually filtered game in the view, then exporting the view with my extension
- Filtering list of games from database in my extension and then export it
My problem is i found nothing to realize that in Api docs.
I tried the PlayniteApi.MainView.SelectedGames but it export only manually selected games, i miss a CurrentViewGames method to get all game currently displayed depending of filters/display options choosed, or a method to allow my extension to select all the games from the current view (without manually selecting them)
Then i tried to use IGameDatabase too, but i miss arguments to give to method for filtering the list with tags=multiplayer.
Can someone point me where in the APIdoc i can found something to help me with this kind of needs?