FRDA:UpdateMii: Difference between revisions

m Name unknown fields
TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x040C|32|0}}
!  Index Word
{{IPC/RequestEntryRange|24|Friend [[Mii#CFLStoreData|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.