Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem
Interface class for obtaining online User info
| Name | IOnlineUser |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineUserInterface.h |
| Include Path | #include "Interfaces/OnlineUserInterface.h" |
Syntax
class IOnlineUser
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IOnlineUser() |
Interfaces/OnlineUserInterface.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnQueryExternalIdMappingsComplete | TBaseDelegate_FiveParams< void, bool, const FUniqueNetId &, const FExternalIdQueryOptions &, const TArray< FString > &, const FString & > | Called when done querying for UserId mappings from external ids | Interfaces/OnlineUserInterface.h |
| FOnQueryUserMappingComplete | TBaseDelegate_FiveParams< void, bool, const FUniqueNetId &, const FString &, const FUniqueNetId &, const FString & > | Called when done querying for a UserId mapping from a requested display name | Interfaces/OnlineUserInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnQueryUserInfoCompleteDelegates | FOnQueryUserInfoComplete | Delegate used when the user query request has completed | Interfaces/OnlineUserInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDelegateHandle AddOnQueryUserInfoCompleteDelegate_Handle
(
int32 LocalUserNum, |
Interfaces/OnlineUserInterface.h | ||
virtual void ClearOnQueryUserInfoCompleteDelegate_Handle
(
int32 LocalUserNum, |
Interfaces/OnlineUserInterface.h | ||
virtual void ClearOnQueryUserInfoCompleteDelegates
(
int32 LocalUserNum, |
Interfaces/OnlineUserInterface.h | ||
bool GetAllUserInfo
(
int32 LocalUserNum, |
Obtains the cached list of online user info | Interfaces/OnlineUserInterface.h | |
FUniqueNetIdPtr GetExternalIdMapping
(
const FExternalIdQueryOptions& QueryOptions, |
Get the cached user id for the specified external id | Interfaces/OnlineUserInterface.h | |
void GetExternalIdMappings
(
const FExternalIdQueryOptions& QueryOptions, |
Get the cached user ids for the specified external ids | Interfaces/OnlineUserInterface.h | |
TSharedPtr< FOnlineUser > GetUserInfo
(
int32 LocalUserNum, |
Get the cached user entry for a specific user id if found | Interfaces/OnlineUserInterface.h | |
bool QueryExternalIdMappings
(
const FUniqueNetId& UserId, |
Contacts server to obtain user ids from external ids | Interfaces/OnlineUserInterface.h | |
bool QueryUserIdMapping
(
const FUniqueNetId& UserId, |
Contacts server to obtain a user id from an arbitrary user-entered name string, eg. display name | Interfaces/OnlineUserInterface.h | |
bool QueryUserInfo
(
int32 LocalUserNum, |
Starts an async task that queries/reads the info for a list of users | Interfaces/OnlineUserInterface.h | |
| Interfaces/OnlineUserInterface.h |