Extension of FUserOnlineAccount that describes Omni One user data with more detail than the base class.
- See also
- FUserOnlineAccount
#include <UserOnlineAccountOmni.h>
Inherits FUserOnlineAccount.
|
|
virtual FUniqueNetIdRef | GetUserId () const override |
| | Get unique id for this user account.
|
| |
|
virtual FString | GetRealName () const override |
| | Not Supported.
|
| |
|
virtual FString | GetDisplayName (const FString &Platform=FString()) const override |
| | Get display name for this user account.
|
| |
| virtual bool | GetUserAttribute (const FString &AttrName, FString &OutAttrValue) const override |
| | Get custom attribute for this user account if it exists.
|
| |
| virtual bool | SetUserAttribute (const FString &AttrName, const FString &AttrValue) override |
| | Set custom attribute for this user account, or create it if it does not exist.
|
| |
|
virtual FString | GetAccessToken () const override |
| | Not Supported.
|
| |
|
virtual bool | GetAuthAttribute (const FString &AttrName, FString &OutAttrValue) const override |
| | Not Supported.
|
| |
◆ GetUserAttribute()
| virtual bool FUserOnlineAccountOmni::GetUserAttribute |
( |
const FString & |
AttrName, |
|
|
FString & |
OutAttrValue |
|
) |
| const |
|
overridevirtual |
Get custom attribute for this user account if it exists.
- Parameters
-
| AttrName | The name of the custom attribute to retrieve |
| OutAttrValue | string replaced with attribute value if successful |
- Returns
- True if attribute was found
◆ SetUserAttribute()
| virtual bool FUserOnlineAccountOmni::SetUserAttribute |
( |
const FString & |
AttrName, |
|
|
const FString & |
AttrValue |
|
) |
| |
|
overridevirtual |
Set custom attribute for this user account, or create it if it does not exist.
- Parameters
-
| AttrName | The name of the custom attribute to create or update |
| AttrValue | string to set as the attribute value |
- Returns
- True if attribute was found