AMPXI:GetItemRights: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x006801C2] |- | 1 | Rights Size |- | 2 | Enum value (unknown, valid values ran..."
 
TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|-
|-
| 2
| 2
| Enum value (unknown, valid values range from 1 to 6, including 1 and 6)
| Rights type, valid values range from 1 to 6, including 1 and 6)
|-
|-
| 3-4
| 3-4
Line 24: Line 24:
|-
|-
| 8
| 8
| (Rights Size << 4) <nowiki>|</nowiki> 0xC
| (Rights Size << 8) <nowiki>|</nowiki> 0x4
|-
|-
| 9
| 9
Line 43: Line 43:
|-
|-
| 2
| 2
|?
| Total number of rights records
|-
|-
| 3
| 3
|?
| Next records offset
|}
|}

Latest revision as of 13:05, 9 June 2025

Request

Index Word Description
0 Header code [0x006801C2]
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 << 8) | 0x4
9 Rights Output Buffer

Response

Index Word Description
0 Header code
1 Result code
2 Total number of rights records
3 Next records offset