Add the player select applet. (#537)

This introduces the somewhat completed version of the Player Select
Applet, allowing users to select either a user or a guest from the UI.
Note: Selecting the guest more then once currently does not work.

closes https://github.com/Ryubing/Ryujinx/issues/532
This commit is contained in:
Jacob 2025-01-18 20:40:33 -06:00 committed by GitHub
parent ccdddac8fc
commit 52269964b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 376 additions and 8 deletions

View file

@ -0,0 +1,14 @@
using CommunityToolkit.Mvvm.ComponentModel;
using Ryujinx.HLE.HOS.Services.Account.Acc;
using System.Collections.ObjectModel;
namespace Ryujinx.Ava.UI.ViewModels
{
public partial class UserSelectorDialogViewModel : BaseModel
{
[ObservableProperty] private UserId _selectedUserId;
[ObservableProperty] private ObservableCollection<BaseModel> _profiles = [];
}
}