UGameSessionSettings

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...
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback