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

Static Public Member Functions

UIHelper
static UInventoryFilter GetItemCategory (const UItemDefinition _Item)
 Returns the UI category of the given Item.
static float32 GetAnimationStartTime (UUserWidget _Owner, UWidgetAnimation _Animation)
static TSoftObjectPtr< UTexture2D > GetSoftItemIcon (const UItemDefinition Item)
 Returns a soft object pointer to the item's icon, assumed to be a texture 2D.
Static Functions
static FSpellsManaCost CalculateSpellManaCost (FRuneStats RuneStats)
static FString GetProfileName (UPersistentDataSubsystem persistentDataSubsystem)
static UArmorCustomizationSlotData GetDefaultInitCustomizationSlotData ()
static bool StartNewGame (FString ProfileName)
static UClass StaticClass ()
static FText GenerateDefaultSavegameName ()
Static Public Member Functions inherited from UBlueprintFunctionLibrary
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Static Public Attributes

Static Variables
static const UArmorCustomizationSlotData DefaultInitCustomizationSlotData

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

Member Function Documentation

◆ CalculateSpellManaCost()

FSpellsManaCost CalculateSpellManaCost ( FRuneStats RuneStats)
static

◆ GenerateDefaultSavegameName()

FText GenerateDefaultSavegameName ( )
static

◆ GetAnimationStartTime()

float32 GetAnimationStartTime ( UUserWidget _Owner,
UWidgetAnimation _Animation )
static

◆ GetDefaultInitCustomizationSlotData()

UArmorCustomizationSlotData GetDefaultInitCustomizationSlotData ( )
static

◆ GetItemCategory()

UInventoryFilter GetItemCategory ( const UItemDefinition _Item)
static

Returns the UI category of the given Item.

◆ GetProfileName()

FString GetProfileName ( UPersistentDataSubsystem persistentDataSubsystem)
static

◆ GetSoftItemIcon()

TSoftObjectPtr< UTexture2D > GetSoftItemIcon ( const UItemDefinition Item)
static

Returns a soft object pointer to the item's icon, assumed to be a texture 2D.

◆ StartNewGame()

bool StartNewGame ( FString ProfileName)
static

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DefaultInitCustomizationSlotData

const UArmorCustomizationSlotData DefaultInitCustomizationSlotData
static