G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
AssetRegistry Namespace Reference

Functions

Functions
FAssetData GetAssetByObjectPath (FSoftObjectPath ObjectPath, bool bIncludeOnlyOnDiskAssets=false)
bool HasAssets (const FName PackagePath, bool bRecursive=false)
bool GetAssetsByPackageName (FName PackageName, TArray< FAssetData > &OutAssetData, bool bIncludeOnlyOnDiskAssets=false)
bool GetAssetsByPath (FName PackagePath, TArray< FAssetData > &OutAssetData, bool bRecursive=false, bool bIncludeOnlyOnDiskAssets=false)
bool GetAssetsByClass (FTopLevelAssetPath ClassPath, TArray< FAssetData > &OutAssetData, bool bSearchSubClasses=false)
void GetBlueprintCDOsByParentClass (UClass Class, TArray< UObject > &OutAssets)
void GetWidgetBlueprintCDOsByParentClass (UClass Class, TArray< UObject > &OutAssets)
bool GetAssetsByTags (TArray< FName > AssetTags, TArray< FAssetData > &OutAssetData)
bool IsLoadingAssets ()
bool GetAllAssets (TArray< FAssetData > &OutAssetData, bool bIncludeOnlyOnDiskAssets=false)
bool GetAssets (FARFilter Filter, TArray< FAssetData > &OutAssetData, bool bSkipARFilteredAssets=true)
bool GetDependencies (FName PackageName, FAssetRegistryDependencyOptions DependencyOptions, TArray< FName > &OutDependencies)
bool GetReferencers (FName PackageName, FAssetRegistryDependencyOptions ReferenceOptions, TArray< FName > &OutReferencers)
void GetDerivedClassNames (TArray< FTopLevelAssetPath > ClassNames, TSet< FTopLevelAssetPath > ExcludedClassNames, TSet< FTopLevelAssetPath > &OutDerivedClassNames)
bool GetGeneratedClassName (FAssetData AssetData, FTopLevelAssetPath &OutGeneratedClassName)
void AssetCreated (UObject NewAsset)
void LoadAllBlueprintsUnderPath (FName PathToLoadFrom, FString OptionalFileIncludeRegex="")

Function Documentation

◆ AssetCreated()

void AssetCreated ( UObject NewAsset)

◆ GetAllAssets()

bool GetAllAssets ( TArray< FAssetData > & OutAssetData,
bool bIncludeOnlyOnDiskAssets = false )

◆ GetAssetByObjectPath()

FAssetData GetAssetByObjectPath ( FSoftObjectPath ObjectPath,
bool bIncludeOnlyOnDiskAssets = false )

◆ GetAssets()

bool GetAssets ( FARFilter Filter,
TArray< FAssetData > & OutAssetData,
bool bSkipARFilteredAssets = true )

◆ GetAssetsByClass()

bool GetAssetsByClass ( FTopLevelAssetPath ClassPath,
TArray< FAssetData > & OutAssetData,
bool bSearchSubClasses = false )

◆ GetAssetsByPackageName()

bool GetAssetsByPackageName ( FName PackageName,
TArray< FAssetData > & OutAssetData,
bool bIncludeOnlyOnDiskAssets = false )

◆ GetAssetsByPath()

bool GetAssetsByPath ( FName PackagePath,
TArray< FAssetData > & OutAssetData,
bool bRecursive = false,
bool bIncludeOnlyOnDiskAssets = false )

◆ GetAssetsByTags()

bool GetAssetsByTags ( TArray< FName > AssetTags,
TArray< FAssetData > & OutAssetData )

◆ GetBlueprintCDOsByParentClass()

void GetBlueprintCDOsByParentClass ( UClass Class,
TArray< UObject > & OutAssets )

◆ GetDependencies()

bool GetDependencies ( FName PackageName,
FAssetRegistryDependencyOptions DependencyOptions,
TArray< FName > & OutDependencies )

◆ GetDerivedClassNames()

void GetDerivedClassNames ( TArray< FTopLevelAssetPath > ClassNames,
TSet< FTopLevelAssetPath > ExcludedClassNames,
TSet< FTopLevelAssetPath > & OutDerivedClassNames )

◆ GetGeneratedClassName()

bool GetGeneratedClassName ( FAssetData AssetData,
FTopLevelAssetPath & OutGeneratedClassName )

◆ GetReferencers()

bool GetReferencers ( FName PackageName,
FAssetRegistryDependencyOptions ReferenceOptions,
TArray< FName > & OutReferencers )

◆ GetWidgetBlueprintCDOsByParentClass()

void GetWidgetBlueprintCDOsByParentClass ( UClass Class,
TArray< UObject > & OutAssets )

◆ HasAssets()

bool HasAssets ( const FName PackagePath,
bool bRecursive = false )

◆ IsLoadingAssets()

bool IsLoadingAssets ( )

◆ LoadAllBlueprintsUnderPath()

void LoadAllBlueprintsUnderPath ( FName PathToLoadFrom,
FString OptionalFileIncludeRegex = "" )