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

Function library containing methods that should be hoisted onto FUniversalObjectLocators for scripting. More...

Static Public Member Functions

Universal Object Locators
static FUniversalObjectLocator MakeUniversalObjectLocator (UObject Object, UObject Context)
 Construct a new universal object locator.
static UObject SyncFind (FUniversalObjectLocator Locator, UObject Context=nullptr)
 Attempt to resolve the object locator by finding the object. If it is not currently loaded or created,.
static UObject SyncLoad (FUniversalObjectLocator Locator, UObject Context=nullptr)
 Attempt to resolve the object locator by finding or loading the object.
static void SyncUnload (FUniversalObjectLocator Locator, UObject Context=nullptr)
 Attempt to resolve the object locator by unloading the object if possible.
static FString ToString (FUniversalObjectLocator Locator)
 Convert the specified locator to its string representation.
static FUniversalObjectLocator UniversalObjectLocatorFromString (FString InString)
 Construct a new universal object locator from a string.
static bool IsEmpty (FUniversalObjectLocator Locator)
 Check whether the specified locator is empty; not equivalent to Resolve() != None. An empty locator will never resolve to a valid object.
Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UBlueprintFunctionLibrary
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Additional Inherited Members

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
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

Function library containing methods that should be hoisted onto FUniversalObjectLocators for scripting.

Member Function Documentation

◆ IsEmpty()

bool IsEmpty ( FUniversalObjectLocator Locator)
static

Check whether the specified locator is empty; not equivalent to Resolve() != None. An empty locator will never resolve to a valid object.

◆ MakeUniversalObjectLocator()

FUniversalObjectLocator MakeUniversalObjectLocator ( UObject Object,
UObject Context )
static

Construct a new universal object locator.

◆ StaticClass()

UClass StaticClass ( )
static

◆ SyncFind()

UObject SyncFind ( FUniversalObjectLocator Locator,
UObject Context = nullptr )
static

Attempt to resolve the object locator by finding the object. If it is not currently loaded or created,.

Parameters
Context(Optional) Context object to use for resolving the object. This should usually be the object that owns or created the locator.
Returns
The resolve object pointer, or null if it was not found.

◆ SyncLoad()

UObject SyncLoad ( FUniversalObjectLocator Locator,
UObject Context = nullptr )
static

Attempt to resolve the object locator by finding or loading the object.

Parameters
Context(Optional) Context object to use for resolving the object. This should usually be the object that owns or created the locator.
Returns
The resolve object pointer, or null if it was not found.

◆ SyncUnload()

void SyncUnload ( FUniversalObjectLocator Locator,
UObject Context = nullptr )
static

Attempt to resolve the object locator by unloading the object if possible.

Parameters
Context(Optional) Context object to use for resolving the object. This should usually be the object that owns or created the locator.
Returns
The resolve object pointer, or null if it was not found.

◆ ToString()

FString ToString ( FUniversalObjectLocator Locator)
static

Convert the specified locator to its string representation.

◆ UniversalObjectLocatorFromString()

FUniversalObjectLocator UniversalObjectLocatorFromString ( FString InString)
static

Construct a new universal object locator from a string.