ACTU:FindSlotNoByUuid

From 3dbrew
Revision as of 22:41, 19 January 2025 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x000F0140 Cmd 0x000F Param 5 Xlat 0
1 u32, Unique ID (see description)
2-5 Input UUID

Response[edit]

Index Word Description
0
Header 0x000F0080 Cmd 0x000F Param 2 Xlat 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.