|
ReXGlue SDK
|
Classes | |
| class | SettingByteStream |
| struct | Setting |
| struct | Int32Setting |
| struct | Int64Setting |
| struct | DoubleSetting |
| struct | UnicodeSetting |
| struct | FloatSetting |
| struct | BinarySetting |
| struct | DateTimeSetting |
Public Member Functions | |
| void | SetContentManager (IContentManager &content, rex::MoveOnlyFunction< u32()> title_id) |
| u64 | GetXUID () const |
| std::string | GetName () const |
| u32 | GetSigninState () const |
| u32 | GetType () const |
| REX_XAM_API void | AddSetting (std::unique_ptr< Setting > setting) |
| REX_XAM_API Setting * | GetSetting (u32 setting_id) |
| REX_XAM_API void rex::xam::UserProfile::AddSetting | ( | std::unique_ptr< Setting > | setting | ) |
Adds a setting, replacing any with the same ID. A title specific setting is saved to disk when added.
| setting | The setting, owned by the profile afterwards. |
| REX_XAM_API Setting * rex::xam::UserProfile::GetSetting | ( | u32 | setting_id | ) |
Returns a setting, loading a title specific one from disk if the title has not loaded it, null when the ID is unknown.
|
inline |
|
inline |
Returns the profile type bits that the XUID query matches against its type mask. It is always 3.
|
inline |
Sets the content manager that locates the title specific settings.
| content | The content manager, which outlives the profile. |
| title_id | Returns the title ID of the executable. |