Module |
|
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 |
bool AddPackageActivity
(
const FConcertSyncActivity & InPackageActivity,
const FConcertPackageInfo & InPackageInfo,
FConcertPackageDataStream & InPackageDataStream,
int64 & OutActivityId,
int64 & OutPackageEventId
)
Add a new package activity to this database, assigning it both an activity and package event ID. @note The endpoint ID referenced by the activity must exist in the database (
True if the package activity was added, false otherwise.
Parameter |
Description |
---|---|
InPackageActivity |
The base part of the package activity to add (the ActivityId, EventTime, EventType, EventId, and PackageRevision members are ignored). |
InPackageInfo |
Information about the package affected. |
InPackageDataStream |
A stream to the package data if the activty is about adding or modifying a package. Can be empty when the activity is about deleting or discarding changes. |
OutActivityId |
Populated with the ID of this activity in the database. |
OutPackageEventId |
Populated with the ID of the package event in the database ( |
SetEndpoint). @note This function is expected to be called on the server to populate its version of the session database.