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