|
ReXGlue SDK
|
#include <rex/kernel/types/content.h>
Classes | |
| union | [union].display_name_raw |
Public Member Functions | |
| bool | operator== (const XCONTENT_DATA &other) const |
| std::u16string | GetDisplayName () const |
| std::string | GetFileName () const |
| void | SetDisplayName (const std::u16string_view value) |
| void | SetFileName (const std::string_view value) |
Public Attributes | |
| be_u32 | device_id |
| BE< XContentType > | content_type |
| union | display_name_raw |
| char | file_name_raw [42] |
| u8 | padding [2] |
Metadata of a content package on a storage device, as the title lays it out.
|
inline |
Returns the display name converted to host byte order.
|
inline |
Returns the file name up to its first null or 42 characters.
|
inline |
Compares the fields that locate a package, device_id, content_type and file_name.
|
inline |
Sets the display name, blanking the array first because some titles need several terminators.
|
inline |
Sets the file name and zeroes padding, which some titles read as the null terminator.
| union rex::kernel::XCONTENT_DATA::[union].display_name_raw rex::kernel::XCONTENT_DATA::display_name_raw |
Big endian UTF-16 name shown to the player.
| u8 rex::kernel::XCONTENT_DATA::padding[2] |
Some titles use this padding as the null terminator of a full file_name_raw.