G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FPrimaryAssetTypeInfo Struct Reference

Structure with publicly exposed information about an asset type. These can be loaded out of a config file or constructed at runtime. More...

Public Member Functions

Functions
FPrimaryAssetTypeInfo & opAssign (FPrimaryAssetTypeInfo Other)

Public Attributes

AssetType
TSoftClassPtr< UObject > AssetBaseClass
 Base Class of all assets of this type.
bool bHasBlueprintClasses
 True if the assets loaded are blueprints classes, false if they are normal UObjects.
bool bIsEditorOnly
 If true this type will not cause anything to be cooked; the AssetManager will use instances of this type to define chunk assignments and NeverCook rules, but will ignore AlwaysCook rules. Assets labeled by instances of this type will need to be reference by another PrimaryAsset, or by something outside the AssetManager, to be cooked.
TArray< FDirectoryPath > Directories
 Directories to search for this asset type.
TArray< FSoftObjectPath > SpecificAssets
 Individual assets to scan.
FName PrimaryAssetType
 The logical name for this type of Primary Asset.
Rules
FPrimaryAssetRules Rules
 Default management rules for this type, individual assets can be overridden.

Detailed Description

Structure with publicly exposed information about an asset type. These can be loaded out of a config file or constructed at runtime.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AssetBaseClass

TSoftClassPtr<UObject> AssetBaseClass

Base Class of all assets of this type.

◆ bHasBlueprintClasses

bool bHasBlueprintClasses

True if the assets loaded are blueprints classes, false if they are normal UObjects.

◆ bIsEditorOnly

bool bIsEditorOnly

If true this type will not cause anything to be cooked; the AssetManager will use instances of this type to define chunk assignments and NeverCook rules, but will ignore AlwaysCook rules. Assets labeled by instances of this type will need to be reference by another PrimaryAsset, or by something outside the AssetManager, to be cooked.

◆ Directories

TArray<FDirectoryPath> Directories

Directories to search for this asset type.

◆ PrimaryAssetType

FName PrimaryAssetType

The logical name for this type of Primary Asset.

◆ Rules

Default management rules for this type, individual assets can be overridden.

◆ SpecificAssets

TArray<FSoftObjectPath> SpecificAssets

Individual assets to scan.