Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineGameActivity
Description
Resume an activity. Different from StartActivity in that resume continues from current progress where StartActivity will set progress back to 0 before activating the activity
| Name | ResumeActivity |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameActivityInterface.h |
| Include Path | #include "Interfaces/OnlineGameActivityInterface.h" |
void ResumeActivity
(
const FUniqueNetId & LocalUserId,
const FString & ActivityId,
const TOptional < FOnlineActivityTasksToReset > & TasksToReset,
const FOnResumeActivityComplete & CompletionDelegate
)
Parameters
| Name | Remarks |
|---|---|
| LocalUserId | Id of the player resuming the activity |
| ActivityId | Task to resume by activity ID |
| TasksToReset | Optional argument to specify which in-progress and completed tasks of an activity to reset. Leaving this empty will reset all tasks |
| CompletionDelegate | Completion delegate called when the ResumeActivity call is complete |