Difference between revisions of "FRDU:GetMyFriendKey"

From 3dbrew
Jump to navigation Jump to search
(update link to FriendKey struct)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0005|0|0}}
!  Index Word
+
{{IPC/RequestEnd}}
!  Description
 
|-
 
| 0
 
| Header code [0x00050000]
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x0005|5|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntryRange|4|The [[Friend_Services#FriendKey|FriendKey]] of the console}}
| 0
+
{{IPC/RequestEnd}}
| Header code
 
|-
 
| 1
 
| Result code
 
|-
 
| 2-5
 
| The console's [[Friend_Services#FriendKey|FriendKey]]
 
|}
 
  
 
=Description=
 
=Description=
Returns the console's friend key.
+
Returns the friend key of the console.

Latest revision as of 18:14, 12 December 2024

Request[edit]

Index Word Description
0
Header 0x00050000 Cmd 0x0005 Param 0 Xlat 0

Response[edit]

Index Word Description
0
Header 0x00050140 Cmd 0x0005 Param 5 Xlat 0
1 Result code
2-5 The FriendKey of the console

Description[edit]

Returns the friend key of the console.