0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-25 08:45:45 +00:00
ryujinx-fork/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;
}
}
}