UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WorldPartitionCookPackageInterface.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
#include "
CoreFwd.h
"
5
#include "
UObject/Interface.h
"
6
#include "
WorldPartitionCookPackage.h
"
7
#include "WorldPartitionCookPackageInterface.generated.h"
8
9
class
UExternalDataLayerAsset
;
10
class
IWorldPartitionCookPackageContext
;
11
12
UINTERFACE
(MinimalAPI)
13
class
UWorldPartitionCookPackageObject
:
public
UInterface
14
{
15
GENERATED_UINTERFACE_BODY
()
16
};
17
18
class
IWorldPartitionCookPackageObject
19
{
20
GENERATED_IINTERFACE_BODY
()
21
22
public
:
23
#if WITH_EDITOR
24
virtual
bool
IsLevelPackage
()
const
= 0;
25
virtual
const
UExternalDataLayerAsset
* GetExternalDataLayerAsset()
const
= 0;
26
virtual
FString
GetPackageNameToCreate
()
const
= 0;
27
virtual
FWorldPartitionPackageHash
GetGenerationHash
()
const
= 0;
28
virtual
bool
OnPrepareGeneratorPackageForCook
(
TArray<UPackage*>
&
OutModifiedPackages
) = 0;
29
virtual
bool
OnPopulateGeneratorPackageForCook
(
const
IWorldPartitionCookPackageContext
&
InCookContext
,
UPackage
* InPackage) = 0;
30
virtual
bool
OnPopulateGeneratedPackageForCook
(
const
IWorldPartitionCookPackageContext
&
InCookContext
,
UPackage
* InPackage,
TArray<UPackage*>
&
OutModifiedPackages
) = 0;
31
#endif
32
};
CoreFwd.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
Interface.h
UINTERFACE
#define UINTERFACE(...)
Definition
ObjectMacros.h:780
GENERATED_IINTERFACE_BODY
#define GENERATED_IINTERFACE_BODY(...)
Definition
ObjectMacros.h:770
GENERATED_UINTERFACE_BODY
#define GENERATED_UINTERFACE_BODY(...)
Definition
ObjectMacros.h:769
WorldPartitionCookPackage.h
IWorldPartitionCookPackageObject
Definition
WorldPartitionCookPackageInterface.h:19
TArray
Definition
Array.h:670
UExternalDataLayerAsset
Definition
ExternalDataLayerAsset.h:16
UInterface
Definition
Interface.h:19
UPackage
Definition
Package.h:216
UWorldPartitionCookPackageObject
Definition
WorldPartitionCookPackageInterface.h:14
Engine
Source
Runtime
Engine
Public
WorldPartition
Cook
WorldPartitionCookPackageInterface.h
Generated by
1.9.8