Navigation
API > API/Plugins > API/Plugins/ConcertServer > API/Plugins/ConcertServer/IConcertServer
Description
Create a new live server session from another session. The source session can be an archive or a live session.
This is equivalent to archiving and restoring a session, but faster as it skips one copy of the session (possibly serveral GB).
| Name | CopySession |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertMain/Source/ConcertServer/Public/IConcertServer.h |
| Include Path | #include "IConcertServer.h" |
TSharedPtr < IConcertServerSession > CopySession
(
const FGuid & SrcSessionId,
const FConcertSessionInfo & NewSessionInfo,
const FConcertSessionFilter & SessionFilter,
FText & OutFailureReason
)
the created server session
Parameters
| Name | Remarks |
|---|---|
| SrcSessionId | The ID of the session to copy. If the session is archived, its equivalent to restore it. |
| NewSessionInfo | The information about the new session to create. |
| SessionFilter | The filter controlling which activities should be copied over the new session. |
| OutFailureReason | The reason the operation fails if the function returns null, undefined otherwise. |