AM:GetDLCOrLicenseItemRights: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m →Request |
TimmSkiller (talk | contribs) No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
TID high value must be 0x0004008C (DLC) or 0x0004000D (License), otherwise 0xE0E0803C is returned. | |||
=Request= | =Request= | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 9: | Line 10: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Rights Size | ||
|- | |- | ||
| 2 | | 2 | ||
| | | Rights type (valid values range from 1 to 6, including 1 and 6) | ||
|- | |- | ||
| 3-4 | | 3-4 | ||
Line 21: | Line 22: | ||
|- | |- | ||
| 7 | | 7 | ||
| | | Offset | ||
|- | |- | ||
| 8 | | 8 | ||
| ( | | (Rights Size << 4) <nowiki>|</nowiki> 0xC | ||
|- | |- | ||
| 9 | | 9 | ||
| | | Rights Output Buffer | ||
|} | |} | ||
Line 43: | Line 44: | ||
|- | |- | ||
| 2 | | 2 | ||
| | | Total number of rights records | ||
|- | |- | ||
| 3 | | 3 | ||
| | | Next right records offset | ||
|} | |} | ||
=Description= | |||
Wraps [[AMPXI:GetItemRights]]. |
Latest revision as of 13:05, 9 June 2025
TID high value must be 0x0004008C (DLC) or 0x0004000D (License), otherwise 0xE0E0803C is returned.
Request
Index Word | Description |
---|---|
0 | Header code [0x100801C2] |
1 | Rights Size |
2 | Rights type (valid values range from 1 to 6, including 1 and 6) |
3-4 | u64, Ticket Title ID |
5-6 | u64, Ticket ID |
7 | Offset |
8 | (Rights Size << 4) | 0xC |
9 | Rights Output Buffer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Total number of rights records |
3 | Next right records offset |
Description
Wraps AMPXI:GetItemRights.