Navigation
API > API/Plugins > API/Plugins/MultiServerReplication
References
| Module | MultiServerReplication |
| Header | /Engine/Plugins/Runtime/MultiServerReplication/Source/MultiServerReplication/Public/MultiServerNode.h |
| Include | #include "MultiServerNode.h" |
Syntax
struct FMultiServerNodeCreateParams
Remarks
Parameters for initializing a UMultiServerNode
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint16 | ListenPort | The port on which this node will listen for new connections. | |
| FString | LocalPeerId | String identifier of this node. Must be unique among all nodes that will connect to each other. | |
| FOnMultiServerConnected | OnMultiServerConnected | Callback invoked when a connection to a remote node is established. | |
| TArray< FString > | PeerAddresses | List of addresses of other nodes to attempt to connect to. | |
| TSubclassOf< AMultiServerBeaconClient > | UserBeaconClass | Beacon client class that will be instantiated for each connection. Can implement its own RPCs. | |
| UWorld * | World | World in which to create the node |