Info associated with an user account generated by AccelByte online service. More...
#include <OnlineSubsystemAccelByteTypes.h>
Public Member Functions | |
| FUserOnlineAccountAccelByte (const FString &InUserId=TEXT("")) | |
| FUserOnlineAccountAccelByte (const TSharedRef< const FUniqueNetId > &InUserId) | |
| FUserOnlineAccountAccelByte (const TSharedRef< const FUniqueNetId > &InUserId, const FString &InDisplayName) | |
| FUserOnlineAccountAccelByte (const FAccelByteUniqueIdComposite &InCompositeId) | |
| virtual TSharedRef< const FUniqueNetId > | GetUserId () const override |
| virtual FString | GetRealName () const override |
| virtual FString | GetDisplayName (const FString &Platform=FString()) const override |
| virtual bool | GetUserAttribute (const FString &AttrName, FString &OutAttrValue) const override |
| virtual bool | SetUserLocalAttribute (const FString &AttrName, const FString &InAttrValue) override |
| virtual FString | GetAccessToken () const override |
| virtual bool | SetUserAttribute (const FString &AttrName, const FString &AttrValue) override |
| virtual bool | GetAuthAttribute (const FString &AttrName, FString &OutAttrValue) const override |
| FString | GetPublicCode () |
| Get user's PublicCode on AccelByte services. | |
| void | SetDisplayName (const FString &InDisplayName) |
| Set user's display name on AccelByte services. | |
| void | SetUniqueDisplayName (const FString &InUniqueDisplayName) |
| Set user's unique display name on AccelByte services. | |
| FString | GetUserCountry () const |
| Get user's country on AccelByte services. | |
| void | SetUserCountry (const FString &InUserCountry) |
| Set user's country on AccelByte services. | |
| void | SetCredentialsRef (AccelByte::FBaseCredentialsRef InCredentialsRef) |
| Set Credentials Ref. | |
| void | SetPublicCode (const FString &InPublicCode) |
| Set user's PublicCode on AccelByte services. | |
| FString | GetPlatformUserId () const |
| Get Platform User ID from AccelByte services. | |
| void | SetPlatformUserId (const FString &InPlatformUserId) |
| Set Platform User ID, set on OnLoginSuccess Handler. | |
| FString | GetSimultaneousPlatformID () const |
| Get Simultaneous Platform ID from AccelByte services. | |
| void | SetSimultaneousPlatformID (const FString &InSimultaneousPlatformID) |
| Set Simultaneous Platform ID, set on OnLoginSuccess Handler. | |
| FString | GetSimultaneousPlatformUserID () const |
| Get Simultaneous Platform User ID from AccelByte services. | |
| void | SetSimultaneousPlatformUserID (const FString &InSimultaneousPlatformUserID) |
| Set Simultaneous Platform User ID, set on OnLoginSuccess Handler. | |
| bool | IsConnectedToLobby () const |
| A flag that indicates whether the user is connected to AccelByte Lobby or not. | |
| void | SetConnectedToLobby (bool bIsConnected) |
| Set user's connected status to AccelByte Lobby. | |
| bool | IsConnectedToChat () const |
| A flag that indicates whether the user is connected to AccelByte Chat or not. | |
| void | SetConnectedToChat (bool bIsConnected) |
| Set user's connected status to AccelByte Chat. | |
| void | AddPlatformUser (const FOnlinePlatformUserAccelByte &PlatformUser) |
| const FOnlinePlatformUserAccelByte * | GetPlatformUser (const FString &PlatformId) const |
Info associated with an user account generated by AccelByte online service.
| void FUserOnlineAccountAccelByte::AddPlatformUser | ( | const FOnlinePlatformUserAccelByte & | PlatformUser | ) |
Adds a new platform user's information to the account. This method is used to store platform-specific information such as the user's display name, avatar URL, and platform identifiers within the account. It's essential for managing multiple platform identities linked to a single user account.
| PlatformUser | An instance of FOnlinePlatformUserAccelByte containing the user's platform-specific information. |
| const FOnlinePlatformUserAccelByte * FUserOnlineAccountAccelByte::GetPlatformUser | ( | const FString & | PlatformId | ) | const |
Retrieves platform user information based on the given platform ID. Returns a pointer to the platform user's information if found, otherwise null.
| PlatformId | The unique identifier of the platform user. |
| FString FUserOnlineAccountAccelByte::GetPlatformUserId | ( | ) | const |
Get Platform User ID from AccelByte services.
| FString FUserOnlineAccountAccelByte::GetPublicCode | ( | ) |
Get user's PublicCode on AccelByte services.
| FString FUserOnlineAccountAccelByte::GetSimultaneousPlatformID | ( | ) | const |
Get Simultaneous Platform ID from AccelByte services.
| FString FUserOnlineAccountAccelByte::GetSimultaneousPlatformUserID | ( | ) | const |
Get Simultaneous Platform User ID from AccelByte services.
| FString FUserOnlineAccountAccelByte::GetUserCountry | ( | ) | const |
Get user's country on AccelByte services.
| bool FUserOnlineAccountAccelByte::IsConnectedToChat | ( | ) | const |
A flag that indicates whether the user is connected to AccelByte Chat or not.
| bool FUserOnlineAccountAccelByte::IsConnectedToLobby | ( | ) | const |
A flag that indicates whether the user is connected to AccelByte Lobby or not.
| void FUserOnlineAccountAccelByte::SetConnectedToChat | ( | bool | bIsConnected | ) |
Set user's connected status to AccelByte Chat.
| bIsConnected | connected status, true for connected and false for not connected |
| void FUserOnlineAccountAccelByte::SetConnectedToLobby | ( | bool | bIsConnected | ) |
Set user's connected status to AccelByte Lobby.
| bIsConnected | connected status, true for connected and false for not connected |
| void FUserOnlineAccountAccelByte::SetCredentialsRef | ( | AccelByte::FBaseCredentialsRef | InCredentialsRef | ) |
Set Credentials Ref.
| InCredentialsRef | The user's ApiClient::CredentialsRef |
| void FUserOnlineAccountAccelByte::SetDisplayName | ( | const FString & | InDisplayName | ) |
Set user's display name on AccelByte services.
| InDisplayName | The user's display name |
| void FUserOnlineAccountAccelByte::SetPlatformUserId | ( | const FString & | InPlatformUserId | ) |
Set Platform User ID, set on OnLoginSuccess Handler.
| InPlatformUserId | The Platform User ID |
| void FUserOnlineAccountAccelByte::SetPublicCode | ( | const FString & | InPublicCode | ) |
Set user's PublicCode on AccelByte services.
| InPublicCode | The user's PublicCode |
| void FUserOnlineAccountAccelByte::SetSimultaneousPlatformID | ( | const FString & | InSimultaneousPlatformID | ) |
Set Simultaneous Platform ID, set on OnLoginSuccess Handler.
| InSimultaneousPlatformID | The Simultaneous Platform ID |
| void FUserOnlineAccountAccelByte::SetSimultaneousPlatformUserID | ( | const FString & | InSimultaneousPlatformUserID | ) |
Set Simultaneous Platform User ID, set on OnLoginSuccess Handler.
| InSimultaneousPlatformUserID | The Simultaneous Platform User ID |
| void FUserOnlineAccountAccelByte::SetUniqueDisplayName | ( | const FString & | InUniqueDisplayName | ) |
Set user's unique display name on AccelByte services.
| InUniqueDisplayName | The user's display name |
| void FUserOnlineAccountAccelByte::SetUserCountry | ( | const FString & | InUserCountry | ) |
Set user's country on AccelByte services.
| InUserCountry | The user's country |