Module |
|
Header |
/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/ConcertActivityStream.h |
Include |
#include "ConcertActivityStream.h" |
Source |
/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Private/ConcertActivityStream.cpp |
bool Read
(
TArray< TSharedPtr< FConcertClientSessionActivity >> & InOutActivities,
int32 & OutReadCount,
FText & OutErrorMsg
)
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.
True if all activities were consumed, false otherwise.
Parameter |
Description |
---|---|
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. |