UGameSessionSettings

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGameSessionSettings

References

Module

EngineSettings

Header

/Engine/Source/Runtime/EngineSettings/Classes/GameSessionSettings.h

Include

#include "GameSessionSettings.h"

Syntax

class UGameSessionSettings : public UObject

Variables

Name Description

Public variable

uint32: 1

 

bRequiresPushToTalk

Is voice enabled always or via a push to talk key binding.

Public variable

int32

 

MaxPlayers

Maximum number of players allowed by this server.

Public variable

int32

 

MaxSpectators

Maximum number of spectators allowed by this server.

Constructors

Name Description

Public function

UGameSessionSettings

(
    const FObjectInitializer& ObjectIn...
)