FConcertSyncSessionDatabase::AddLockActivity

Add a new lock activity to this database, assigning it both an activity and lock event ID.

Windows
MacOS
Linux

References

Module

ConcertSyncCore

Header

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertSyncSessionDatabase.h

Include

#include "ConcertSyncSessionDatabase.h"

Source

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Private/ConcertSyncSessionDatabase.cpp

Syntax

bool AddLockActivity
(
    const FConcertSyncLockActivity & InLockActivity,
    int64 & OutActivityId,
    int64 & OutLockEventId
)

Remarks

Add a new lock activity to this database, assigning it both an activity and lock event ID. @note The endpoint ID referenced by the activity must exist in the database (

Returns

True if the lock activity was added, false otherwise.

Parameters

Parameter

Description

InLockActivity

The lock activity to add (the ActivityId, EventTime, EventType, and EventId members are ignored).

OutActivityId

Populated with the ID of this activity in the database.

OutLockEventId

Populated with the ID of the lock event in the database (

See Also

SetEndpoint). @note This function is expected to be called on the server to populate its version of the session database.

GetLockEvent).

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