IDaemonSuspendSessionService.cs 876 B

12345678910111213141516171819202122232425262728
  1. using Ryujinx.HLE.HOS.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.HOS.Services.Friend
  4. {
  5. class IDaemonSuspendSessionService : IpcService
  6. {
  7. private Dictionary<int, ServiceProcessRequest> _commands;
  8. private FriendServicePermissionLevel PermissionLevel;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  10. public IDaemonSuspendSessionService(FriendServicePermissionLevel permissionLevel)
  11. {
  12. _commands = new Dictionary<int, ServiceProcessRequest>
  13. {
  14. //{ 0, Unknown0 }, // 4.0.0+
  15. //{ 1, Unknown1 }, // 4.0.0+
  16. //{ 2, Unknown2 }, // 4.0.0+
  17. //{ 3, Unknown3 }, // 4.0.0+
  18. //{ 4, Unknown4 }, // 4.0.0+
  19. };
  20. PermissionLevel = permissionLevel;
  21. }
  22. }
  23. }