Difference between revisions of "FRDU:GetMyPresence"

From 3dbrew
Jump to navigation Jump to search
Line 7: Line 7:
 
{{IPC/Request}}
 
{{IPC/Request}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Pointer to [[FRDU:GetMyPresence#Presence_Structure|Presence]] structure|0}}
+
{{IPC/TranslateStaticBuffer|Pointer to [[Friend_Services#Presence|Presence]] structure|0}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 15: Line 15:
 
{{IPC/RequestHeader|0x0008|1|2}}
 
{{IPC/RequestHeader|0x0008|1|2}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
{{IPC/TranslateStaticBuffer|Pointer to [[FRDU:GetMyPresence#Presence_Structure|Presence]] structure|0}}
+
{{IPC/TranslateStaticBuffer|Pointer to [[Friend_Services#Presence|Presence]] structure|0}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
 
=Presence Structure=
 
{| 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=
 
=Description=
 
Returns the console's friend presence.
 
Returns the console's friend presence.

Revision as of 19:07, 12 December 2024

Request

Index Word Description
0
Header 0x00080000 Cmd 0x0008 Param 0 Xlat 0

Request Static Buffers

Index Word Description
0 Descriptor for static buffer (id 0)
1 Pointer to Presence structure

Response

Index Word Description
0
Header 0x00080042 Cmd 0x0008 Param 1 Xlat 2
1 Result code
2 Descriptor for static buffer (id 0)
3 Pointer to Presence structure

Description

Returns the console's friend presence.