G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UAssetImportData Class Reference

todo: Make this class better suited to multiple import paths - maybe have FAssetImportInfo use a map rather than array? More...

Public Member Functions

AssetImportData
FString GetFirstFilename () const
 Helper function to return the first filename stored in this data. The resulting filename will be absolute (ie, not relative to the asset).
void ScriptedAddFilename (FString InPath, int Index, FString SourceFileLabel)
 Add or update a filename at the specified index. If the index is greater then the number of source file, it will add empty filenames to fill up to the specified index. The timespan and MD5 will be computed.
TArray< FString > ExtractFilenames () const
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

Variables
const FString FirstFilename
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

todo: Make this class better suited to multiple import paths - maybe have FAssetImportInfo use a map rather than array?

Member Function Documentation

◆ ExtractFilenames()

TArray< FString > ExtractFilenames ( ) const

◆ GetFirstFilename()

FString GetFirstFilename ( ) const

Helper function to return the first filename stored in this data. The resulting filename will be absolute (ie, not relative to the asset).

◆ ScriptedAddFilename()

void ScriptedAddFilename ( FString InPath,
int Index,
FString SourceFileLabel )

Add or update a filename at the specified index. If the index is greater then the number of source file, it will add empty filenames to fill up to the specified index. The timespan and MD5 will be computed.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ FirstFilename

const FString FirstFilename