Line 374: |
Line 374: |
| | 0x8 | | | 0x8 |
| | u64 titleID | | | u64 titleID |
− | | ApplicationId | + | | ApplicationId, for DocumentKind_OfflineHtmlPage/DocumentKind_ApplicationLegalInformation. Should be zero for DocumentKind_OfflineHtmlPage since it's ignored. |
| |- | | |- |
| | [1.0.0+] | | | [1.0.0+] |
Line 388: |
Line 388: |
| | 0x4 | | | 0x4 |
| | u32 enum OfflineDocumentKind | | | u32 enum OfflineDocumentKind |
− | | DocumentKind | + | | [[#DocumentKind]] |
| |- | | |- |
| | [1.0.0+] | | | [1.0.0+] |
Line 395: |
Line 395: |
| | 0x8 | | | 0x8 |
| | u64 titleID | | | u64 titleID |
− | | SystemDataId | + | | SystemDataId, for DocumentKind_SystemDataPage. |
| |- | | |- |
| | | | | |
Line 677: |
Line 677: |
| | PageScrollIndicatorEnabled | | | PageScrollIndicatorEnabled |
| |} | | |} |
| + | |
| + | Offline: title to load the content from is controlled by ApplicationId/SystemDataId. With DocumentKind_OfflineHtmlPage, it will ignore this and only load from the user-process title. |
| + | |
| + | Offline DocumentPath: Initial document path in RomFS, without the leading '/'. For DocumentKind_OfflineHtmlPage, this is relative to "html-document/" in RomFS. For the other DocumentKind values, this is relative to "/" in RomFS. |
| | | |
| Share/Lobby: if a non-zero userID isn't set, the applet will launch the profile-selector applet to select an account. | | Share/Lobby: if a non-zero userID isn't set, the applet will launch the profile-selector applet to select an account. |
Line 741: |
Line 745: |
| | | |
| These are used for Share-applet. Official user-processes doesn't check the TLV size for any of these. | | These are used for Share-applet. Official user-processes doesn't check the TLV size for any of these. |
| + | |
| + | ==== DocumentKind ==== |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Value |
| + | ! Name |
| + | ! Description |
| + | |- |
| + | | 0x1 |
| + | | DocumentKind_OfflineHtmlPage |
| + | | Use the HtmlDocument NCA content from the application. |
| + | |- |
| + | | 0x2 |
| + | | DocumentKind_ApplicationLegalInformation |
| + | | Use the LegalInformation NCA content from the application. |
| + | |- |
| + | | 0x3 |
| + | | DocumentKind_SystemDataPage |
| + | | Use the Data NCA content from the specified title, see also: [[Title_list#System_Data_Archives]] |
| + | |} |
| + | |
| + | This controls the kind of content to mount with Offline-applet. |
| | | |
| ==== ShareStartPage ==== | | ==== ShareStartPage ==== |