Ryujinx/src/Ryujinx.Horizon/Sdk/Account/NetworkServiceAccountId.cs
gdkchan 4117c13377
Migrate friends service to new IPC (#6174)
* Migrate friends service to new IPC

* Add a note that the pointer buffer size and domain counts are wrong

* Wrong length

* Format whitespace

* PR feedback

* Fill in structs from PR feedback

* Missed that one

* Somehow forgot to save that one

* Fill in enums from PR review

* Language enum, NotificationTime

* Format whitespace

* Fix the warning
2024-01-29 22:45:40 +01:00

20 lines
446 B
C#

using System.Runtime.InteropServices;
namespace Ryujinx.Horizon.Sdk.Account
{
[StructLayout(LayoutKind.Sequential, Size = 0x8, Pack = 0x8)]
readonly record struct NetworkServiceAccountId
{
public readonly ulong Id;
public NetworkServiceAccountId(ulong id)
{
Id = id;
}
public override readonly string ToString()
{
return Id.ToString("x16");
}
}
}