Difference between revisions of "FRDA:UpdateMii"

From 3dbrew
Jump to navigation Jump to search
m (Name unknown fields)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x040C|32|0}}
!  Index Word
+
{{IPC/RequestEntryRange|24|[[Friend_Services#Mii_Data|Friend Mii Data]]}}
!  Description
+
{{IPC/RequestEntryRange|6|10-Character UTF-16 Screen Name (10 characters + null termination)}}
|-
+
{{IPC/RequestEntry|bool, profanity flag}}
| 0
+
{{IPC/RequestEntry|u8, [[Mii#Mii_format|Mii Character Set]]}}
| Header code [0x040C0800]
+
{{IPC/RequestEnd}}
|-
 
| 1-24
 
| [[Mii#Mii_format|Mii Data]]
 
|-
 
| 25-30
 
| UTF-16 Mii name
 
|-
 
| 31
 
| u8 Profanity flag
 
|-
 
| 32
 
| u8 Character set
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x040C|1|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
This updates the Mii data on the friends list. Note: Mii Maker seems to be leaking memory on the Mii name, so any data after the NULL termination should be discarded.
+
Updates the Mii data of the personal Mii shown in the own friend card of the friends list.

Latest revision as of 21:30, 17 December 2024

Request[edit]

Index Word Description
0
Header 0x040C0800 Cmd 0x040C Param 32 Xlat 0
1-24 Friend Mii Data
25-30 10-Character UTF-16 Screen Name (10 characters + null termination)
31 bool, profanity flag
32 u8, Mii Character Set

Response[edit]

Index Word Description
0
Header 0x040C0040 Cmd 0x040C Param 1 Xlat 0
1 Result code

Description[edit]

Updates the Mii data of the personal Mii shown in the own friend card of the friends list.