Navigation
API > API/Plugins > API/Plugins/MultiServerReplication
Parameters for initializing a UMultiServerNode
| Name | FMultiServerNodeCreateParams |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MultiServerReplication/Source/MultiServerReplication/Public/MultiServerNode.h |
| Include Path | #include "MultiServerNode.h" |
Syntax
struct FMultiServerNodeCreateParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ListenIp | FString | The local IP address of this node, only used so it can find itself in the PeerAddresses list. | MultiServerNode.h | |
| ListenPort | uint16 | The port on which this node will listen for new connections. | MultiServerNode.h | |
| LocalPeerId | FString | String identifier of this node. Must be unique among all nodes that will connect to each other. | MultiServerNode.h | |
| NumServers | uint32 | The number of servers we're expecting in the cluster | MultiServerNode.h | |
| OnMultiServerConnected | FOnMultiServerConnected | Callback invoked when a connection to a remote node is established. | MultiServerNode.h | |
| PeerAddresses | TArray< FString > | List of addresses of other nodes to attempt to connect to. | MultiServerNode.h | |
| UserBeaconClass | TSubclassOf< AMultiServerBeaconClient > | Beacon client class that will be instantiated for each connection. Can implement its own RPCs. | MultiServerNode.h | |
| World | UWorld * | World in which to create the node | MultiServerNode.h |