Navigation
API > API/Runtime > API/Runtime/EngineSettings
| Name | UGameSessionSettings |
| Type | class |
| Header File | /Engine/Source/Runtime/EngineSettings/Classes/GameSessionSettings.h |
| Include Path | #include "GameSessionSettings.h" |
Syntax
UCLASS (Config=Game, MinimalAPI)
class UGameSessionSettings : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameSessionSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGameSessionSettings
(
const FObjectInitializer& ObjectInitializer |
GameSessionSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRequiresPushToTalk | uint32 | Is voice enabled always or via a push to talk key binding. | GameSessionSettings.h | |
| MaxPlayers | int32 | Maximum number of players allowed by this server. | GameSessionSettings.h |
|
| MaxSpectators | int32 | Maximum number of spectators allowed by this server. | GameSessionSettings.h |
|