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

Public Member Functions

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

Public Attributes

Variables
const FString AssetName
const FString LongPackageName

Member Function Documentation

◆ Get()

T Get ( ) const

Returns the object selected at the specified path. If the object 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 ( FOnSoftObjectLoaded OnLoaded) const

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

◆ opAssign() [1/5]

TSoftObjectPtr< T > & opAssign ( FName Path)

◆ opAssign() [2/5]

TSoftObjectPtr< T > & opAssign ( FSoftObjectPath Path)

◆ opAssign() [3/5]

TSoftObjectPtr< T > & opAssign ( FString Path)

◆ opAssign() [4/5]

TSoftObjectPtr< T > & opAssign ( T Object)

◆ opAssign() [5/5]

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

◆ opEquals() [1/2]

bool opEquals ( T Object) const

◆ opEquals() [2/2]

bool opEquals ( TSoftObjectPtr< T > Other) const

◆ Reset()

void Reset ( )

◆ ToSoftObjectPath()

FSoftObjectPath ToSoftObjectPath ( ) const

◆ ToString()

FString ToString ( ) const

Member Data Documentation

◆ AssetName

const FString AssetName

◆ LongPackageName

const FString LongPackageName