IOnlineGameActivity::EndActivity

End an activity

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameActivityInterface.h

Include

#include "Interfaces/OnlineGameActivityInterface.h"

Syntax

void EndActivity
(
    const FUniqueNetId & LocalUserId,
    const FString & ActivityId,
    EOnlineActivityOutcome ActivityOutcome,
    const FOnlineEventParms & Parms,
    FOnEndActivityComplete CompletionDelegate
)

Remarks

End an activity

Parameters

Parameter

Description

LocalUserId

Id of the player stopping the activity

ActivityId

Task to end by activity ID

ActivityOutcome

The outcome of the activity (completed, failed, or abandoned)

Parms

Additional data to include with the stop activity request

CompletionDelegate

Completion delegate called when StopActivity call is complete

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss