mirror of
https://git.zaroz.cloud/nintendo-back-up/Ryujinx.git
synced 2026-01-11 05:04:48 +00:00
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
This commit is contained in:
20
src/Ryujinx.Horizon/Sdk/Account/NetworkServiceAccountId.cs
Normal file
20
src/Ryujinx.Horizon/Sdk/Account/NetworkServiceAccountId.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user