Line 16:
Line 16:
|-
|-
| 0
| 0
−
| 004b0002?
+
| (0x300 << 14) | 2
|-
|-
| 1
| 1
−
| u8* buffer
+
| Pointer to [[FRDU:GetMyPresence#FriendPresence|FriendPresence]] structure
|}
|}
Line 34:
Line 34:
| Result code
| Result code
|}
|}
+
+
=FriendPresence=
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| u32 JoinAvailabilityFlag
+
|-
+
| 0x4
+
| 0x4
+
| u32 MatchmakeSystemType
+
|-
+
| 0x8
+
| 0x4
+
| u32 JoinGameID
+
|-
+
| 0xC
+
| 0x4
+
| u32 JoinGameMode
+
|-
+
| 0x10
+
| 0x4
+
| u32 OwnerPrincipalID
+
|-
+
| 0x14
+
| 0x4
+
| u32 JoinGroupID
+
|-
+
| 0x18
+
| 0x14
+
| u8 ApplicationArg[20]
+
|-
+
| 0x2C
+
| 0x100
+
| u16 GameModeDescription[128]
+
|}
+
+
=Description=
+
Returns the console's friend presence.