2019-06-16 19:08:32 -04:00
|
|
|
using Ryujinx.HLE.HOS.Ipc;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Friend
|
|
|
|
{
|
|
|
|
class IDaemonSuspendSessionService : IpcService
|
|
|
|
{
|
|
|
|
private Dictionary<int, ServiceProcessRequest> _commands;
|
|
|
|
|
2019-07-04 11:14:17 -04:00
|
|
|
private FriendServicePermissionLevel PermissionLevel;
|
|
|
|
|
2019-06-16 19:08:32 -04:00
|
|
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
|
|
|
|
|
2019-07-04 11:14:17 -04:00
|
|
|
public IDaemonSuspendSessionService(FriendServicePermissionLevel permissionLevel)
|
2019-06-16 19:08:32 -04:00
|
|
|
{
|
|
|
|
_commands = new Dictionary<int, ServiceProcessRequest>
|
|
|
|
{
|
2019-07-04 11:14:17 -04:00
|
|
|
//{ 0, Unknown0 }, // 4.0.0+
|
|
|
|
//{ 1, Unknown1 }, // 4.0.0+
|
|
|
|
//{ 2, Unknown2 }, // 4.0.0+
|
|
|
|
//{ 3, Unknown3 }, // 4.0.0+
|
|
|
|
//{ 4, Unknown4 }, // 4.0.0+
|
2019-06-16 19:08:32 -04:00
|
|
|
};
|
2019-07-04 11:14:17 -04:00
|
|
|
|
|
|
|
PermissionLevel = permissionLevel;
|
2019-06-16 19:08:32 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|