Navigation
API > API/Plugins > API/Plugins/OnlineFrameworkCommon
Class that identifies a unique account and has the collection of account ids linked to that account
| Name | FCommonAccount |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineFrameworkCommon/Source/OnlineFrameworkCommon/Public/OnlineFramework/CommonAccount.h |
| Include Path | #include "OnlineFramework/CommonAccount.h" |
Syntax
class FCommonAccount : public TSharedFromThis< FCommonAccount >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FCommonAccount
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCommonAccount
(
FPrivateToken, |
OnlineFramework/CommonAccount.h |
Structs
| Name | Remarks |
|---|---|
| FPrivateToken |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCommonAccountIdType | TTuple< UE::Online::EOnlineServices, FName > | OnlineFramework/CommonAccount.h | |
| FOnGetIdAsyncComplete | TBaseDelegate_TwoParams< void, const FCommonAccountRef &, UE::Online::FAccountId > | Completion delegate for GetIdAsync | OnlineFramework/CommonAccount.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccountIds | TMap< FCommonAccountIdType, UE::Online::FAccountId > | OnlineFramework/CommonAccount.h | ||
| CommonConfig | FCommonConfig | OnlineFramework/CommonAccount.h | ||
| Manager | TWeakPtr< FCommonAccountManager > | OnlineFramework/CommonAccount.h | ||
| RedirectAccount | TWeakPtr< FCommonAccount > | In the case of a conflict, this account could be replaced by another account. | OnlineFramework/CommonAccount.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Add an account id for this account. | OnlineFramework/CommonAccount.h | ||
bool Equals
(
const FCommonAccount& OtherAccount |
Check if the target account equals this one. | OnlineFramework/CommonAccount.h | |
const FCommonConfig & GetCommonConfig() |
OnlineFramework/CommonAccount.h | ||
| Get the cached id for a framework instance | OnlineFramework/CommonAccount.h | ||
void GetIdAsync
(
FName FrameworkInstance, |
Lookup an account id for this account. | OnlineFramework/CommonAccount.h | |
FString ToLogString() |
Get a loggable version of this account | OnlineFramework/CommonAccount.h |