
* 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
30 lines
858 B
C#
30 lines
858 B
C#
using Ryujinx.Common.Memory;
|
|
using Ryujinx.Horizon.Sdk.Account;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Friends.Detail
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Size = 0xE0)]
|
|
struct UserPresenceImpl
|
|
{
|
|
public Uid UserId;
|
|
public long LastTimeOnlineTimestamp;
|
|
public PresenceStatus Status;
|
|
public bool SamePresenceGroupApplication;
|
|
public Array3<byte> Unknown;
|
|
public AppKeyValueStorageHolder AppKeyValueStorage;
|
|
|
|
[InlineArray(0xC0)]
|
|
public struct AppKeyValueStorageHolder
|
|
{
|
|
public byte Value;
|
|
}
|
|
|
|
public readonly override string ToString()
|
|
{
|
|
return $"{{ UserId: {UserId}, LastTimeOnlineTimestamp: {LastTimeOnlineTimestamp}, Status: {Status} }}";
|
|
}
|
|
}
|
|
}
|