Difference between revisions of "FRDU:UpdateGameModeDescription"

From 3dbrew
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x001D|0|2}}
!  Index Word
+
{{IPC/TranslateStaticBuffer|Input UTF-16 127-Character Game Mode Description (127 Characters + null termination)|2}}
!  Description
+
{{IPC/RequestEnd}}
|-
 
| 0
 
| Header code [0x001D0002]
 
|-
 
| 1
 
| (len<<14) <nowiki>|</nowiki> 0x802
 
|-
 
| 2
 
| Pointer to input UTF-16 text buffer, buffer size is normally 0x100-bytes.
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x001D|1|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
This sets the "currently playing" text description displayed in the friends-list(separate from the application title text). The specified data seems to be sent in encrypted(?) UDP frame(s) to the friends server.
+
This sets the "currently playing" text description displayed in the friends list (separate from the application title text).

Latest revision as of 23:11, 16 December 2024

Request[edit]

Index Word Description
0
Header 0x001D0002 Cmd 0x001D Param 0 Xlat 2
1 Descriptor for static buffer (id 2)
2 Input UTF-16 127-Character Game Mode Description (127 Characters + null termination)

Response[edit]

Index Word Description
0
Header 0x001D0040 Cmd 0x001D Param 1 Xlat 0
1 Result code

Description[edit]

This sets the "currently playing" text description displayed in the friends list (separate from the application title text).