2019-06-16 16:08:32 -07: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 08:14:17 -07:00
|
|
|
private FriendServicePermissionLevel PermissionLevel;
|
|
|
|
|
2019-06-16 16:08:32 -07:00
|
|
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
|
|
|
|
|
2019-07-04 08:14:17 -07:00
|
|
|
public IDaemonSuspendSessionService(FriendServicePermissionLevel permissionLevel)
|
2019-06-16 16:08:32 -07:00
|
|
|
{
|
|
|
|
_commands = new Dictionary<int, ServiceProcessRequest>
|
|
|
|
{
|
2019-07-04 08:14:17 -07: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 16:08:32 -07:00
|
|
|
};
|
2019-07-04 08:14:17 -07:00
|
|
|
|
|
|
|
PermissionLevel = permissionLevel;
|
2019-06-16 16:08:32 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|