Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.HLE/HOS/Services/Mii/DatabaseSessionMetadata.cs

25 lines
660 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Services.Mii.Types;
namespace Ryujinx.HLE.HOS.Services.Mii
{
class DatabaseSessionMetadata
{
public uint InterfaceVersion;
public ulong UpdateCounter;
public SpecialMiiKeyCode MiiKeyCode { get; private set; }
public DatabaseSessionMetadata(ulong updateCounter, SpecialMiiKeyCode miiKeyCode)
{
InterfaceVersion = 0;
UpdateCounter = updateCounter;
MiiKeyCode = miiKeyCode;
}
public bool IsInterfaceVersionSupported(uint interfaceVersion)
{
return InterfaceVersion >= interfaceVersion;
}
}
}