Navigation
API > API/Plugins > API/Plugins/MultiServerReplication
Inheritance Hierarchy
- AActor
- FNetworkNotify
- AOnlineBeacon
- AOnlineBeaconClient
- AMultiServerBeaconClient
References
| Module | MultiServerReplication |
| Header | /Engine/Plugins/Runtime/MultiServerReplication/Source/MultiServerReplication/Public/MultiServerBeaconClient.h |
| Include | #include "MultiServerBeaconClient.h" |
Syntax
UCLASS (Transient, Config=Engine, NotPlaceable)
class AMultiServerBeaconClient : public AOnlineBeaconClient
Remarks
An online beacon that helps manage connecting to MultiServer Networks, and replicating metadata about the MultiServer Network.
This Actor will exist on All MultiServer Nodes, and multiple MultiServerBeaconClient Actors may exist on non-Client Nodes, one for each other connected node.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | OnLevelAddedToWorldHandle | ||
| FDelegateHandle | OnLevelRemovedFromWorldHandle | ||
| FString | RemotePeerId |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConnectToServer
(
const FString& ConnectInfo |
Attempt to connect to another specified MultiServer node. | |
| FString | |||
| bool | Actor Role on client beacons stays as authority, so this function can be used to determine whether this instance is acting as an authority. | ||
| FName | NetworkRemapPath
(
FName InPackageName, |
||
| void | OnLevelAddedToWorld
(
ULevel* Level, |
||
| void | OnLevelRemovedFromWorld
(
ULevel* Level, |
||
| void | ServerUpdateLevelVisibility
(
const FUpdateLevelVisibilityLevelInfo& LevelVisibility |
||
| void | ServerUpdateMultipleLevelsVisibility
(
const TArray< FUpdateLevelVisibilityLevelInfo >& LevelVisibilities |
||
| void | SetOwningNode
(
UMultiServerNode* InOwningNode |
Overridden from AOnlineBeaconClient
| Type | Name | Description | |
|---|---|---|---|
| void | OnConnected () |
A connection has been made and RPC/replication can begin |
Overridden from AOnlineBeacon
| Type | Name | Description | |
|---|---|---|---|
| void | Beacon cleanup and net driver destruction | ||
| void | OnFailure () |
Notification that failure needs to be handled |