mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-15 11:31:16 +01:00
25 lines
660 B
C#
25 lines
660 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|