UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LevelStreamingAlwaysLoaded.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
10#pragma once
11
12#include "CoreMinimal.h"
15#include "LevelStreamingAlwaysLoaded.generated.h"
16
17UCLASS(MinimalAPI)
19{
21
22 //~ Begin UObject Interface
23 virtual void GetPrestreamPackages(TArray<UObject*>& OutPrestream) override;
24 //~ End UObject Interface
25
26 //~ Begin ULevelStreaming Interface
27 virtual bool ShouldBeLoaded() const override { return true; }
28 virtual bool ShouldBeAlwaysLoaded() const override { return true; }
29 //~ End ULevelStreaming Interface
30
31
32};
33
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Array.h:670
Definition LevelStreamingAlwaysLoaded.h:19
Definition LevelStreaming.h:139