blob: cf4520cf4e013204c8269cfe0f37b94e3d67808c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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} }}";
}
}
}
|