aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/FileSystem/SaveInfo.cs
blob: 96f2f020e7c11dda7d1a339ef09a0f0a823ba32f (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
using Ryujinx.HLE.HOS.Services.Account.Acc;

namespace Ryujinx.HLE.FileSystem
{
    struct SaveInfo
    {
        public ulong        TitleId      { get; private set; }
        public long         SaveId       { get; private set; }
        public SaveDataType SaveDataType { get; private set; }
        public SaveSpaceId  SaveSpaceId  { get; private set; }
        public UserId       UserId       { get; private set; }

        public SaveInfo(
            ulong        titleId,
            long         saveId,
            SaveDataType saveDataType,
            SaveSpaceId  saveSpaceId,
            UserId       userId = new UserId())
        {
            TitleId      = titleId;
            SaveId       = saveId;
            SaveDataType = saveDataType;
            SaveSpaceId  = saveSpaceId;
            UserId       = userId;
        }
    }
}