Navigation
API > API/Plugins > API/Plugins/MultiUserClient
An interface for setting up default replication settings for an object.
This is used when Multi-User determines that an object should be automatically owned by a client and e.g. wants to set up a common workflow. For example, if you have a specific actor type for which a user usually wants to replicate the position & rotation, you can use this to set up the workflow automatically for the user.
Situations where this is executed:
- When a user adds the object to a replication stream using the "Add Actor" button
- When the user adds an actor to the world while in a session, they might automatically want to replicate it (TODO UE-202194)
This interface is similar to IStreamExtensionContext but the interfaces serve different purposes. IStreamExtensionContext concerns itself with extending general streams. IReplicationDiscoveryContext is specific to Multi User. For example, this interface exposes endpoint IDs for which does not make sense for IStreamExtensionContext.
| Name | IReplicationDiscoverer |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertApp/MultiUserClient/Source/MultiUserClient/Public/Replication/IReplicationDiscoverer.h |
| Include Path | #include "Replication/IReplicationDiscoverer.h" |
Syntax
class IReplicationDiscoverer
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IReplicationDiscoverer() |
Replication/IReplicationDiscoverer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DiscoverReplicationSettings
(
const FReplicationDiscoveryParams& Params |
Finds replication settings given the ExtendedObject. | Replication/IReplicationDiscoverer.h |