Difference between revisions of "ACTU:FindSlotNoByUuid"
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x000F|5|0}} {{IPC/RequestEntry|u32, Unique ID (see description) {{IPC/RequestEntryRange|4|Input UUID}} {{...") |
TimmSkiller (talk | contribs) |
||
Line 2: | Line 2: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{IPC/RequestHeader|0x000F|5|0}} | {{IPC/RequestHeader|0x000F|5|0}} | ||
− | {{IPC/RequestEntry|u32, Unique ID (see description) | + | {{IPC/RequestEntry|u32, Unique ID (see description)}} |
{{IPC/RequestEntryRange|4|Input [[ACT_Services#UUIDs|UUID]]}} | {{IPC/RequestEntryRange|4|Input [[ACT_Services#UUIDs|UUID]]}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} |
Latest revision as of 22:41, 19 January 2025
Request[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, Unique ID (see description) | ||||||||
2-5 | Input UUID |
Response[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | u8, Account slot |
Description[edit]
Attempts looking up the account slot number for the given account UUID.
The following methods of lookup are possible using this command:
Value of "Unique ID" parameter | Description |
---|---|
-1 (0xFFFFFFFF) | Returns the account slot for the account whose UUID matches the input UUID exactly. |
-2 (0xFFFFFFFE) | Returns the account slot for the account whose UUID matches a title-specific UUID based on the input UUID using the unique ID of the current (caller) process. |
(all other values) | Returns the account slot for the account whose UUID matches a title-specific UUID based on the input UUID using the given unique ID value. |