|
ReXGlue SDK
|
#include <rex/filesystem/stfs.h>
Classes | |
| union | [union].volume_descriptor |
| union | [union].metadata_v2 |
| union | [union].display_name_raw |
| union | [union].description_raw |
| union | [union].publisher_raw |
| union | [union].title_name_raw |
| union | [union].flags |
| union | [union].display_name_ex_raw |
| union | [union].description_ex_raw |
Public Member Functions | |
| std::u16string | GetDisplayName (kernel::XLanguage language) const |
| std::u16string | GetDescription (kernel::XLanguage language) const |
| std::u16string | GetPublisher () const |
| std::u16string | GetTitleName () const |
| bool | SetDisplayName (kernel::XLanguage language, std::u16string_view value) |
| bool | SetDescription (kernel::XLanguage language, std::u16string_view value) |
| void | SetPublisher (std::u16string_view value) |
| void | SetTitleName (std::u16string_view value) |
Public Attributes | |
| BE< kernel::XContentType > | content_type |
| be_u32 | metadata_version |
| be_u64 | content_size |
| kernel::XEXOptExecutionInfo | execution_info |
| u8 | console_id [5] |
| be_u64 | profile_id |
| union | volume_descriptor |
| be_u32 | data_file_count |
| be_u64 | data_file_size |
| BE< XContentVolumeType > | volume_type |
| be_u64 | online_creator |
| be_u32 | category |
| u8 | reserved2 [0x20] |
| union | metadata_v2 |
| u8 | device_id [0x14] |
| union | display_name_raw |
| union | description_raw |
| union | publisher_raw |
| union | title_name_raw |
| union | flags |
| be_u32 | thumbnail_size |
| be_u32 | title_thumbnail_size |
| u8 | thumbnail [kThumbLengthV2] |
| union | display_name_ex_raw |
| u8 | title_thumbnail [kThumbLengthV2] |
| union | description_ex_raw |
Static Public Attributes | |
| static constexpr u32 | kThumbLengthV1 = 0x4000 |
| static constexpr u32 | kThumbLengthV2 = 0x3D00 |
| static constexpr u32 | kNumLanguagesV1 = 9 |
| static constexpr u32 | kNumLanguagesV2 = 12 |
Package metadata after the signed header.
|
inlinenodiscard |
Returns the description for a language, reading the English slot when it has none, empty when the metadata version has no slot.
|
inlinenodiscard |
Returns the display name for a language, reading the English slot when it has none, empty when the metadata version has no slot.
|
inline |
Replaces the description for a language, truncated to 128 code units.
|
inline |
Replaces the display name for a language, truncated to 128 code units.
|
inline |
Replaces the publisher name, truncated to 64 code units.
|
inline |
Replaces the title name, truncated to 64 code units.
| be_u32 rex::filesystem::XContentMetadata::data_file_count |
SVOD data fragments.
| union rex::filesystem::XContentMetadata::[union].description_ex_raw rex::filesystem::XContentMetadata::description_ex_raw |
Descriptions of the three version 2 languages.
| union rex::filesystem::XContentMetadata::[union].description_raw rex::filesystem::XContentMetadata::description_raw |
Descriptions, one per version 1 language.
| union rex::filesystem::XContentMetadata::[union].display_name_ex_raw rex::filesystem::XContentMetadata::display_name_ex_raw |
Display names of the three version 2 languages.
| union rex::filesystem::XContentMetadata::[union].display_name_raw rex::filesystem::XContentMetadata::display_name_raw |
Display names, one per version 1 language.
| kernel::XEXOptExecutionInfo rex::filesystem::XContentMetadata::execution_info |
Title and media the package is for.
|
staticconstexpr |
Languages of version 2 metadata, three of them inside the version 1 thumbnail space.
| union rex::filesystem::XContentMetadata::[union].metadata_v2 rex::filesystem::XContentMetadata::metadata_v2 |
Type specific metadata.
| be_u32 rex::filesystem::XContentMetadata::metadata_version |
Either 1 or 2.
| be_u64 rex::filesystem::XContentMetadata::online_creator |
Live creator XUID.
| u8 rex::filesystem::XContentMetadata::thumbnail[kThumbLengthV2] |
Package thumbnail, a PNG.
| be_u32 rex::filesystem::XContentMetadata::thumbnail_size |
Bytes of thumbnail in use.
| u8 rex::filesystem::XContentMetadata::title_thumbnail[kThumbLengthV2] |
Title thumbnail, a PNG.
| be_u32 rex::filesystem::XContentMetadata::title_thumbnail_size |
Bytes of title_thumbnail in use.
| union rex::filesystem::XContentMetadata::[union].volume_descriptor rex::filesystem::XContentMetadata::volume_descriptor |
Volume descriptor, chosen by volume_type.