Navigation
API > API/Plugins > API/Plugins/OnlineServicesInterface
| Name | TOnlineAsyncOpHandle |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesInterface/Public/Online/Achievements.h |
| Include Path | #include "Online/Achievements.h" |
| Source | /Engine/Plugins/Online/OnlineServices/Source/OnlineServicesInterface/Public/Online/UserInfo.h |
Syntax
template<typename OpType>
class TOnlineAsyncOpHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOnlineAsyncOpHandle
(
TSharedRef< Private::IOnlineAsyncOpSharedState< OpType > >&& InSharedState |
Online/OnlineAsyncOpHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| State | TSharedPtr< Private::IOnlineAsyncOpSharedState< OpType > > | Online/OnlineAsyncOpHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Cancel
(
const FOnlineError& Reason |
Cancel the operation | Online/OnlineAsyncOpHandle.h | |
EAsyncOpState GetState() |
Get the state of the operation | Online/OnlineAsyncOpHandle.h | |
TOnlineAsyncOpHandle & OnComplete
(
ArgTypes&&... Args |
Return The async op handle | Online/OnlineAsyncOpHandle.h | |
TOnlineAsyncOpHandle & OnProgress
(
ArgTypes&&... Args |
Need to add a comment here explaining how this works: There's an optional first parameter that is a class instance (raw pointer or shared/weakptr/ref/weakobjptr). | Online/OnlineAsyncOpHandle.h | |
TOnlineAsyncOpHandle & OnWillRetry
(
ArgTypes&&... Args |
Return The async op handle | Online/OnlineAsyncOpHandle.h |