Difference between revisions of "FRDU:GetMyProfile"

From 3dbrew
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0007|0|0}}
!  Index Word
+
{{IPC/RequestEnd}}
!  Description
 
|-
 
| 0
 
| Header code [0x00070000]
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x0007|3|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntryRange|2|[[Friend_Services#Profile|Profile]] structure}}
| 0
+
{{IPC/RequestEnd}}
| Header code
 
|-
 
| 1
 
| Result code
 
|-
 
| 2-3
 
| Profile structure
 
|}
 
 
 
Profile Structure:
 
{| class="wikitable" border="1"
 
|-
 
!  Type
 
!  Name
 
|-
 
| u8
 
| region
 
|-
 
| u8
 
| country
 
|-
 
| u8
 
| area
 
|-
 
| u8
 
| language
 
|-
 
| u8
 
| platform, always 2 (PLATFORM_CTR)
 
|-
 
| u8[3]
 
| padding
 
|}
 

Latest revision as of 21:36, 12 December 2024

Request[edit]

Index Word Description
0
Header 0x00070000 Cmd 0x0007 Param 0 Xlat 0

Response[edit]

Index Word Description
0
Header 0x000700C0 Cmd 0x0007 Param 3 Xlat 0
1 Result code
2-3 Profile structure