aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Friend/IDaemonSuspendSessionService.cs
blob: 0de74d780e8fe87f513148792045b1d81f774e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;

namespace Ryujinx.HLE.HOS.Services.Friend
{
    class IDaemonSuspendSessionService : IpcService
    {
        private Dictionary<int, ServiceProcessRequest> _commands;

        private FriendServicePermissionLevel PermissionLevel;

        public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;

        public IDaemonSuspendSessionService(FriendServicePermissionLevel permissionLevel)
        {
            _commands = new Dictionary<int, ServiceProcessRequest>
            {
                //{ 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+
            };

            PermissionLevel = permissionLevel;
        }
    }
}