Files
UnrealEngineUWP/Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterMessageInterceptor/Public/DisplayClusterMessageInterceptionSettings.h
andrey yamashev e96a2275ba nDisplay: various updates
- got rid of master/slave terminology
- new JSON 500 config scheme
- removed old CFG config scheme

#jira UE-133179
#rb Alejandro.Arango, Patrick.Hardy
#preflight 61bbb2ae372f4dbf43856a61

#ROBOMERGE-AUTHOR: andrey.yamashev
#ROBOMERGE-SOURCE: CL 18489261 in //UE5/Release-5.0/... via CL 18489267
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18489272 by andrey yamashev in ue5-release-engine-test branch]
2021-12-20 15:33:45 -05:00

47 lines
1.5 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "UObject/ObjectMacros.h"
#include "DisplayClusterMessageInterceptionSettings.generated.h"
USTRUCT()
struct FMessageInterceptionSettings
{
GENERATED_BODY()
/**
* By default, interception is enabled and multi user interception is active
* Old config properties are not redirectable so by default, new system will be enabled
* fixing any discrepencies across the system with settings synchronization.
*/
/** Indicates if message interception is enabled. */
UPROPERTY(config, EditAnywhere, Category = "Interception Settings")
bool bIsEnabled = true;
/** Indicates whether messages from multi user are intercepted. */
UPROPERTY(config, EditAnywhere, Category = "Interception Settings", meta=(EditCondition = "bIsEnabled"))
bool bInterceptMultiUserMessages = true;
/** Maximum seconds to keep intercepted message to be synchronized across cluster. */
UPROPERTY(config, EditAnywhere, AdvancedDisplay, Category = "Interception Settings")
float TimeoutSeconds = 1.0f;
};
UCLASS(config=Engine)
class DISPLAYCLUSTERMESSAGEINTERCEPTION_API UDisplayClusterMessageInterceptionSettings : public UObject
{
GENERATED_BODY()
public:
/**
* Settings related to interception.
* @note Settings from primary node will be synchronized across the cluster
*/
UPROPERTY(config, EditAnywhere, Category = "Interception Settings", meta = (ShowOnlyInnerProperties))
FMessageInterceptionSettings InterceptionSettings;
};