Difference between revisions of "FRDU:GetMyMii"

From 3dbrew
Jump to navigation Jump to search
(add correct return Mii structure)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{IPC/RequestHeader|0x000A|0|0}}
!  Index Word
+
{{IPC/RequestEnd}}
!  Description
 
|-
 
| 0
 
| Header code [0x000A0000]
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestHeader|0x000A|25|0}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntryRange|24|Personal [[Friend_Services#Mii_Data|Mii data]]}}
| 0
+
{{IPC/RequestEnd}}
| Header code
 
|-
 
| 1
 
| Result code
 
|-
 
| 2
 
[[FRDU:GetMyMii#Mii_Data|Mii data structure]]
 
|}
 
 
 
=Mii Data=
 
{| class="wikitable" border="1"
 
|-
 
! Offset
 
! Size
 
! Description
 
|-
 
| 0x0
 
| 0x1
 
| bool, ProfanityFlag
 
|-
 
| 0x1
 
| 0x2
 
| [[Mii#Mii_format|Mii character set]]
 
|-
 
| 0x2
 
| 0x1
 
| bool, DirtyFlag
 
|-
 
| 0x3
 
| 0x1
 
| padding
 
|-
 
| 0x4
 
| 0x5C
 
| [[Mii#Mii_format|Mii data]]
 
|}
 

Latest revision as of 21:26, 12 December 2024

Request[edit]

Index Word Description
0
Header 0x000A0000 Cmd 0x000A Param 0 Xlat 0

Response[edit]

Index Word Description
0
Header 0x000A0640 Cmd 0x000A Param 25 Xlat 0
1 Result code
2-25 Personal Mii data