Documentation

Support

Multiplay Hosting for the Unreal Engine

Multiplay Hosting overview

Multiplay Hosting for the Unreal Engine

Struct Multiplay Server Config

Reference documentation for the Multiplay Server Config struct.
Read time 2 minutesLast updated 3 hours ago

The server configuration for the current session.
Include
#include "MultiplayServerConfig.h"
Syntax
USTRUCT(BlueprintType)struct MULTIPLAYGAMESERVERSDK_API FMultiplayServerConfig

Fields

EventId

The server ID.

Declaration

UPROPERTY(BlueprintReadOnly, Category="Multiplay | ServerConfig")int64 ServerId = 0

Blueprint

Name

Type

Default value

Server IdInteger
0

C++

Name

Type

ServerId
int64

AllocationId

The allocation ID.

Declaration

UPROPERTY(BlueprintReadOnly, Category="Multiplay | ServerConfig")FString AllocationId

Blueprint

Name

Type

Allocation IdString

C++

Name

Type

AllocationId
FString

QueryPort

The Server Query Protocol Port.

Declaration

UPROPERTY(BlueprintReadOnly, Category="Multiplay | ServerConfig")int32 QueryPort = 0

Blueprint

Name

Type

Default value

Query PortInteger
0

C++

Name

Type

Default value

QueryPort
int32`0``

Ip

The ip address for the session.

Declaration

UPROPERTY(BlueprintReadOnly, Category = "Multiplay | ServerConfig")FString Ip

Blueprint

Name

Type

IpString

C++

Name

Type

Ip
FString

Port

The connection port for the session.

Declaration

UPROPERTY(BlueprintReadOnly, Category="Multiplay | ServerConfig")int32 Port = 0

Blueprint

Name

Type

Default value

PortInteger
0

C++

Name

Type

Default value

Port
int32`0``

ServerLogDirectory

The directory logs will be written to.

Declaration

UPROPERTY(BlueprintReadOnly, Category="Multiplay | ServerConfig")FString ServerLogDirectory

Blueprint

Name

Type

Server Log DirectoryString

C++

Name

Type

ServerLogDirectory
FString