| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h |
Include |
#include "UObject/Package.h" |
class UPackage : public UObject
A package.
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bCanBeImported |
Whether this package can be imported, i.e. its package name is a package that exists on disk. |
|
uint8: 1 |
bHasBeenFullyLoaded |
Whether this package has been fully loaded (aka had all it's exports created) at some point. |
|
uint8: 1 |
bIsCookedForEditor |
True if this packages has been cooked for the editor / opened cooked by the editor |
|
FileName |
The name of the file that this package was loaded from |
|
|
FileSize |
Size of the file for this package; if the package was not loaded from a file or was a forced export in another package, this will be zero |
|
|
LinkerCustomVersion |
Linker custom version container this package has been serialized with. |
|
|
LinkerLicenseeVersion |
Linker licensee version this package has been serialized with. This is mostly used by PostLoad |
|
|
FLinkerLoad ... |
LinkerLoad |
Linker load associated with this package |
|
LinkerPackageVersion |
Linker package version this package has been serialized with. This is mostly used by PostLoad |
|
|
MetaData |
MetaData for the editor, or NULL in the game. |
|
|
PIEInstanceID |
Editor only: PIE instance ID this package belongs to, INDEX_NONE otherwise |
|
|
TUniquePtr< FTh... |
ThumbnailMap |
Editor only: Thumbnails stored in this package |
|
TUniquePtr< FWo... |
WorldTileInfo |
World browser information. |
Name | Description | |
---|---|---|
|
UPackage ( |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
UPackage ( |
Name | Description | ||
---|---|---|---|
|
__DefaultConstructor ( |
||
|
UObject *... |
__VTableCtorCaller ( |
|
|
FThumbnailMa... |
AccessThumbnailMap() |
Access the thumbnail map for this package. Only call this if HasThumbnailMap returns true! |
|
CanBeImported() |
Returns whether the package can be imported. |
|
|
ClearDirtyFlag() |
Clear the package dirty flag without any transaction tracking |
|
|
ClearPackageFlags ( |
Set the specified flags to false. Does not affect any other flags. |
|
|
ContainsMap() |
Returns whether this package contains a ULevel or UWorld object. |
|
|
UObject *... |
FindAssetInPackage() |
Utility function to find Asset in this package, if any |
|
FullyLoad() |
Fully loads this package. Safe to call multiple times and won't clobber already loaded assets. |
|
|
const TArray... |
GetChunkIDs() |
Returns our ChunkIDs |
|
GetExternalPackages() |
Return the list of packages found assigned to object outer-ed to the top level objects of this package |
|
|
GetFileSize() |
Returns our FileSize |
|
|
GetFolderName() |
Get the package's folder name |
|
|
float |
GetLoadTime() |
Returns the time it took the last time this package was fully loaded, 0 otherwise. |
|
UMetaData &#... |
GetMetaData() |
Gets (after possibly creating) a metadata object for this package |
|
GetPackageFlags() |
Gets the package flags. |
|
|
GetPackageId() |
Returns the unique package id |
|
|
GetPersistentGuid() |
Returns our persistent Guid |
|
|
const FThumb... |
GetThumbnailMap() |
Returns the thumbnail map for this package (const). |
|
HasAllPackagesFlags ( |
Used to safely check whether all of the passed in flags are set. |
|
|
HasAnyPackageFlags ( |
Used to safely check whether the passed in flag is set. |
|
|
HasThumbnailMap() |
Returns true if this package has a thumbnail map |
|
|
IsDirty() |
Returns whether the package needs to be saved. |
|
|
IsEmptyPackage |
Determines if a package contains no more assets. |
|
|
IsFullyLoaded() |
Returns whether the package is fully loaded. |
|
|
IsLoadedByEditorPropertiesOnly() |
Returns true when the package is only referenced by editor-only flag |
|
|
MarkAsFullyLoaded() |
Marks this package as being fully loaded. |
|
|
RequiresLocalizationGather() |
Returns whether this package contains data required to be gathered for localization. |
|
|
FSavePackage... |
Save ( |
Save one specific object (along with any objects it references contained within the same Outer) into an Unreal package. |
|
FSavePackage... |
Save2 ( |
Save an asset into an Unreal Package Save2 is currently experimental and shouldn't be used until it can safely replace Save. |
|
ESavePackage... |
SaveConcurrent ( |
Save a list of packages concurrently using Save2 mechanism SaveConcurrent is currently experimental and shouldn't be used until it can safely replace Save. |
|
SavePackage ( |
Save one specific object (along with any objects it references contained within the same Outer) into an Unreal package. |
|
|
SetCanBeImportedFlag ( |
Marks/Unmarks the package's bCanBeImported flag. |
|
|
SetChunkIDs |
Sets our ChunkIDs |
|
|
SetDirtyFlag ( |
Marks/Unmarks the package's bDirty flag, save the package to the transaction buffer if a transaction is ongoing |
|
|
SetFolderName ( |
Set the package's folder name |
|
|
SetLoadedByEditorPropertiesOnly |
Sets the bLoadedByEditorPropertiesOnly flag |
|
|
SetLoadTime ( |
Sets the time it took to load this package. |
|
|
SetPackageFlags ( |
Set the specified flags to true. Does not affect any other flags. |
|
|
SetPackageFlagsTo ( |
||
|
SetPackageId ( |
Sets the unique package id |
|
|
SetPersistentGuid ( |
Sets a specific persistent Guid |
|
|
UClass * |
StaticClass() |
Returns a UClass object representing this class at runtime |
|
EClassCastFl... |
StaticClassCastFlags() |
Returns the static cast flags for this class |
|
const TCHAR ... |
StaticPackage() |
Returns the package this class belongs in |
|
StaticRegisterNativesUPackage() |
||
|
ThisContainsMap() |
Called to indicate that this package contains a ULevel or UWorld object. |
|
|
ThisRequiresLocalizationGather ( |
Called to indicate that this package contains data required to be gathered for localization. |
|
|
WaitForAsyncFileWrites() |
Wait for any SAVE_Async file writes to complete |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
IsAsset() |
Packages are never assets |
|
|
IsDestructionThreadSafe() |
Called during garbage collection to determine if an object can have its destructor called on a worker thread. |
|
|
IsNameStableForNetworking() |
IsNameStableForNetworking means an object can be referred to its path name (relative to outer) over the network |
|
|
IsPostLoadThreadSafe() |
Called during async load to determine if PostLoad can be called on the loading thread. |
|
|
NeedsLoadForClient() |
Called during saving to determine the load flags to save with the object. |
|
|
NeedsLoadForServer() |
Called during saving to determine the load flags to save with the object. |
|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, but before the config has been loaded, etc. |
|
|
Serialize ( |
Serializer |
|
|
TagSubobjects ( |
Tags the Package's metadata Tags generated objects with flags |
Name | Description | ||
---|---|---|---|
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
Name |
Description |
---|---|
FOnPackageDirtyStateChanged |
Delegate type for package dirty state events. ( Params: UPackage* ModifiedPackage ) |
FOnPackageMarkedDirty |
Delegate type for when a package is marked as dirty via UObjectBaseUtilty::MarkPackageDirty ( Params: UPackage* ModifiedPackage, bool bWasDirty ) |
FOnPackageSaved |
Delegate type for package saved events ( Params: const FString& PackageFileName, UObject* Outer ) |
FPreSavePackage |
Delegate type for when a package is about to be saved |
Super |
Typedef for the base class (UObject) |
ThisClass |
Typedef for UPackage. |
Name |
Description |
---|---|
EditorPackage |
UE-21181 - trying to track when a flag gets set on a package due to PIE. |
PackageDirtyStateChangedEvent |
Delegate to notify subscribers when the dirty state of a package is changed. |
PackageMarkedDirtyEvent |
Delegate to notify subscribers when a package is marked as dirty via UObjectBaseUtilty::MarkPackageDirty |
PackageSavedEvent |
Delegate to notify subscribers when a package has been saved. |
PreSavePackageEvent |
Delegate to notify subscribers when a package is about to be saved. |
StaticClassFlags |
Bitwise union of EClassFlags pertaining to this class. |
Name | Description | ||
---|---|---|---|
|
GetGuid() |
UPackage::Guid has not been used by the engine for a long time and GetGuid will be removed. |
|
|
MakeNewGuid() |
UPackage::Guid has not been used by the engine for a long time and MakeNewGuid will be removed. |
|
|
SetGuid ( |
UPackage::Guid has not been used by the engine for a long time and SetGuid will be removed. |