Files
UnrealEngine/Engine/Source/Editor/StructViewer/Public/StructViewerProjectSettings.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

37 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "CoreMinimal.h"
#include "CoreTypes.h"
#include "Engine/EngineTypes.h"
#include "UObject/Object.h"
#include "UObject/ObjectMacros.h"
#include "UObject/SoftObjectPath.h"
#include "UObject/SoftObjectPtr.h"
#include "UObject/UObjectGlobals.h"
#include "StructViewerProjectSettings.generated.h"
class UScriptStruct;
/**
* Implements the settings for the Struct Viewer Project Settings
*/
UCLASS(MinimalAPI, config=Engine, defaultconfig)
class UStructViewerProjectSettings : public UObject
{
GENERATED_UCLASS_BODY()
#if WITH_EDITORONLY_DATA
/** The base directories to be considered Internal Only for the struct picker.*/
UPROPERTY(EditAnywhere, config, Category = StructVisibilityManagement, meta = (DisplayName = "List of directories to consider Internal Only.", ContentDir, LongPackageName))
TArray<FDirectoryPath> InternalOnlyPaths;
/** The base classes to be considered Internal Only for the struct picker.*/
UPROPERTY(EditAnywhere, config, Category = StructVisibilityManagement, meta = (DisplayName = "List of base structs to consider Internal Only.", ShowTreeView, HideViewOptions))
TArray<TSoftObjectPtr<const UScriptStruct>> InternalOnlyStructs;
#endif
};