Difference between revisions of "ACTA:UpdateMiiData"

From 3dbrew
Jump to navigation Jump to search
m (TimmSkiller moved page ACTA:UpdateMii to ACTA:UpdateMiiData)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x0412|31|0}}
!  Index Word
+
{{IPC/RequestEntry|u8, Account slot}}
!  Description
+
{{IPC/RequestEntryRange|24|[[ACT_Services#CFLStoreData|Mii CFLStoreData]]}}
|-
+
{{IPC/RequestEntryRange|6|10-character UTF-16 Mii name (10 characters + NULL termination)}}
| 0
+
{{IPC/RequestEnd}}
| Header code [0x041207C0]
 
|-
 
| 1
 
| u8 Account slot (0xFE to use current account)
 
|-
 
| 2-25
 
| [[Mii#Mii_format|Mii Data]]
 
|-
 
| 26-31
 
| UTF-16 Mii name
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x0412|1|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEnd}}
| 0
 
| Header code
 
|-
 
| 1
 
| Result code
 
|}
 
  
 
=Description=
 
=Description=
This updates the NNID Mii data.
+
Updates the Mii data for the given account.

Latest revision as of 19:52, 22 January 2025

Request[edit]

Index Word Description
0
Header 0x041207C0 Cmd 0x0412 Param 31 Xlat 0
1 u8, Account slot
2-25 Mii CFLStoreData
26-31 10-character UTF-16 Mii name (10 characters + NULL termination)

Response[edit]

Index Word Description
0
Header 0x04120040 Cmd 0x0412 Param 1 Xlat 0
1 Result code

Description[edit]

Updates the Mii data for the given account.