Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/FConcertSyncSessionDatabase
Description
Add a new replication activity to this database, assigning it both an activity and lock event ID.
The endpoint ID referenced by the activity must exist in the database (
This function is expected to be called on the server to populate its version of the session database.
| Name | AddReplicationActivity |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertSyncSessionDatabase.h |
| Include Path | #include "ConcertSyncSessionDatabase.h" |
| Source | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Private/ConcertSyncSessionDatabase.cpp |
bool AddReplicationActivity
(
const FConcertSyncReplicationActivity & InReplicationActivity,
int64 & OutActivityId,
int64 & OutReplicationEventId
)
True if the lock activity was added, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InReplicationActivity | 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. |
| OutReplicationEventId | Populated with the ID of the lock event in the database ( |
See Also
-
SetEndpoint).
-
GetLockEvent).