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

Public Member Functions

Functions
TSoftObjectPtr< T > & opAssign (FName Path)
FString ToString () const
FString GetLongPackageName () const
FString GetAssetName () const
bool IsValid () const
bool IsPending () const
bool IsNull () const
void Reset ()
TSoftObjectPtr< T > & opAssign (FSoftObjectPath Path)
FSoftObjectPath ToSoftObjectPath () const
TSoftObjectPtr< T > & opAssign (FString Path)
TSoftClassPtr< T > & opAssign (UClass Object)
TSoftClassPtr< T > & opAssign (TSoftClassPtr< T > Other)
TSoftClassPtr< T > & opAssign (TSubclassOf< T > Other)
bool opEquals (TSoftClassPtr< T > Other) const
bool opEquals (TSubclassOf< T > Other) const
bool opEquals (UClass Object) const
TSubclassOf< T > Get () const
 Returns the class selected at the specified path. If the class is not loaded, returns nullptr.
void LoadAsync (FOnSoftClassLoaded OnLoaded) const
 Asynchronously loads the package that contains the referenced class. Delegate may be called immediately if class is already loaded.

Public Attributes

Variables
const FString AssetName
const FString LongPackageName

Member Function Documentation

◆ Get()

TSubclassOf< T > Get ( ) const

Returns the class selected at the specified path. If the class is not loaded, returns nullptr.

◆ GetAssetName()

FString GetAssetName ( ) const

◆ GetLongPackageName()

FString GetLongPackageName ( ) const

◆ IsNull()

bool IsNull ( ) const

◆ IsPending()

bool IsPending ( ) const

◆ IsValid()

bool IsValid ( ) const

◆ LoadAsync()

void LoadAsync ( FOnSoftClassLoaded OnLoaded) const

Asynchronously loads the package that contains the referenced class. Delegate may be called immediately if class is already loaded.

◆ opAssign() [1/6]

TSoftObjectPtr< T > & opAssign ( FName Path)

◆ opAssign() [2/6]

TSoftObjectPtr< T > & opAssign ( FSoftObjectPath Path)

◆ opAssign() [3/6]

TSoftObjectPtr< T > & opAssign ( FString Path)

◆ opAssign() [4/6]

TSoftClassPtr< T > & opAssign ( TSoftClassPtr< T > Other)

◆ opAssign() [5/6]

TSoftClassPtr< T > & opAssign ( TSubclassOf< T > Other)

◆ opAssign() [6/6]

TSoftClassPtr< T > & opAssign ( UClass Object)

◆ opEquals() [1/3]

bool opEquals ( TSoftClassPtr< T > Other) const

◆ opEquals() [2/3]

bool opEquals ( TSubclassOf< T > Other) const

◆ opEquals() [3/3]

bool opEquals ( UClass Object) const

◆ Reset()

void Reset ( )

◆ ToSoftObjectPath()

FSoftObjectPath ToSoftObjectPath ( ) const

◆ ToString()

FString ToString ( ) const

Member Data Documentation

◆ AssetName

const FString AssetName

◆ LongPackageName

const FString LongPackageName