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