Navigation
API > API/Plugins > API/Plugins/MultiUserClient > API/Plugins/MultiUserClient/IMultiUserReplication
Warnings * The client instance is only guaranteed to be valid for the duration of the call - do not keep any reference to it!
Description
Iterates over every user who was previously connected to the current session but is now offline. The callback function is invoked for each offline client with the last endpoint ID the user had.
Endpoint IDs are associated with the "same" user by matching equal display names and device names.
The client instance is only guaranteed to be valid for the duration of the call - do not keep any reference to it!
This function must be called from the game thread.
| Name | ForEachOfflineClient |
| Type | function |
| Header File | /Engine/Plugins/Developer/Concert/ConcertApp/MultiUserClient/Source/MultiUserClient/Public/Replication/IMultiUserReplication.h |
| Include Path | #include "Replication/IMultiUserReplication.h" |
void ForEachOfflineClient
(
TFunctionRef < EBreakBehavior &)> Callback
) const
Parameters
| Name | Remarks |
|---|---|
| Callback | The callback function to invoke for each offline client. |