mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-09 01:08:55 +02:00
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
25 lines
647 B
C#
25 lines
647 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;
|
|
}
|
|
}
|
|
}
|