Difference between revisions of "ACTU:FindSlotNoByUuid"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x000F|5|0}} {{IPC/RequestEntry|u32, Unique ID (see description) {{IPC/RequestEntryRange|4|Input UUID}} {{...")
(No difference)

Revision as of 22:41, 19 January 2025

Request

Index Word Description
0
Header 0x000F0140 Cmd 0x000F Param 5 Xlat 0

{{IPC/RequestEntry|u32, Unique ID (see description)

1-4 Input UUID

Response

Index Word Description
0
Header 0x000F0080 Cmd 0x000F Param 2 Xlat 0
1 Result code
2 u8, Account slot

Description

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.