UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelScriptBlueprint.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Engine/Level.h"
8#include "Engine/Blueprint.h"
9
10#include "LevelScriptBlueprint.generated.h"
11
23UCLASS(MinimalAPI, NotBlueprintType)
25{
27
28#if WITH_EDITORONLY_DATA
31 FString FriendlyName;
32#endif
33
34#if WITH_EDITOR
35 ULevel* GetLevel() const
36 {
37 return Cast<ULevel>(GetOuter());
38 }
39
40 //~ Begin UBlueprint Interface
41 ENGINE_API virtual FString GetFriendlyName() const override;
42 //~ End UBlueprint Interface
43
45 static FString CreateLevelScriptNameFromLevel (const class ULevel* Level );
46
47#endif //#if WITH_EDITOR
48};
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 Blueprint.h:403
Definition LevelScriptBlueprint.h:25
Definition Level.h:423