Navigation
API > API/Plugins > API/Plugins/ConcertSyncClient > API/Plugins/ConcertSyncClient/FConcertActivityStream
Description
Reads all buffered activities. Call this function periodically (between frames, not in a tight loop). Every times this function is called, all buffered activities are consumed (appended to InOutActivities buffer) and a new request is fired to refill the internal buffer. The activities are streamed from the most recent to the oldest.
| Name | Read |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/ConcertActivityStream.h |
| Include Path | #include "ConcertActivityStream.h" |
| Source | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Private/ConcertActivityStream.cpp |
bool Read
(
TArray < TSharedPtr < FConcertSessionActivity > > & InOutActivities,
int32 & OutReadCount,
FText & OutErrorMsg
)
True if all activities were consumed, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InOutActivities | The array to which the activities should be appended. |
| OutReadCount | The number of activities consumed and appended to InOutActivities. Can be 0 if consumed faster than received form the server. |
| OutErrorMsg | Contains the last error message, if any or an empty text. |