Files
UnrealEngineUWP/Engine/Source/Runtime/EngineSettings/Classes/GameSessionSettings.h
henrik karlsson 5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00

29 lines
776 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "GameSessionSettings.generated.h"
UCLASS(config=Game, MinimalAPI)
class UGameSessionSettings
: public UObject
{
GENERATED_UCLASS_BODY()
/** Maximum number of spectators allowed by this server. */
UPROPERTY(globalconfig, EditAnywhere, Category=GameSessionSettings)
int32 MaxSpectators;
/** Maximum number of players allowed by this server. */
UPROPERTY(globalconfig, EditAnywhere, Category=GameSessionSettings)
int32 MaxPlayers;
/** Is voice enabled always or via a push to talk key binding. */
UPROPERTY(globalconfig, EditAnywhere, Category=GameSessionSettings)
uint32 bRequiresPushToTalk:1;
};