UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelInstanceEditorObject.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
6#include "UObject/Object.h"
8#include "LevelInstanceEditorObject.generated.h"
9
10class AActor;
11class ULevel;
12class UWorld;
13class UPackage;
14class FText;
15
16UCLASS()
18{
20
21#if WITH_EDITORONLY_DATA
22public:
26
27 // If current Level edit has moved actors in/out of the level
28 UPROPERTY()
29 bool bMovedActors;
30
31 // List of packages to save when committing level
32 UPROPERTY()
34#endif
35
36#if WITH_EDITOR
37
38 bool CanDiscard(FText* OutReason = nullptr) const;
39
41 void ExitEdit();
42
43private:
48#endif
49};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Actor.h:257
Definition ObjectSaveContext.h:244
Definition Text.h:385
Definition Array.h:670
Definition LevelInstanceEditorObject.h:18
Definition Level.h:423
Definition Object.h:95
Definition Package.h:216
Definition World.h:918
Definition ObjectPtr.h:488