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

UCraftingIngredientUIData. More...

Static Public Member Functions

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

Ingredient UI Data

FAmountChangedDelegate__CraftingIngredientUIData m_OnCraftingAmountChanged
 Event that is called when the crafting amount changes.
const int AvailableAmount
 Returns the amount of this ingredient in the player's inventory.
int CraftingAmount
 Returns the amount of units that are to be crafted.
const TSoftObjectPtr< UTexture2D > IconSoftObjectPtr
 Returns the icon of the ingredient.
const int RequiredAmount
 Returns the amount of this ingredient needed for one unit of the recipe.
FAmountChangedDelegate__CraftingIngredientUIData m_OnAvailableAmountChanged
 Event that is called when the available amount changes.
int GetCraftingAmount () const
 Returns the amount of units that are to be crafted.
TSoftObjectPtr< UTexture2D > GetIconSoftObjectPtr () const
 Returns the icon of the ingredient.
int GetRequiredAmount () const
 Returns the amount of this ingredient needed for one unit of the recipe.
void SetCraftingAmount (int _Amount)
 Sets how many instances of the recipe are to be crafted.
int GetAvailableAmount () const
 Returns the amount of this ingredient in the player's inventory.

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

UCraftingIngredientUIData.

Data needed by the UI for an ingredient of a crafting recipe.

Member Function Documentation

◆ GetAvailableAmount()

int GetAvailableAmount ( ) const

Returns the amount of this ingredient in the player's inventory.

◆ GetCraftingAmount()

int GetCraftingAmount ( ) const

Returns the amount of units that are to be crafted.

◆ GetIconSoftObjectPtr()

TSoftObjectPtr< UTexture2D > GetIconSoftObjectPtr ( ) const

Returns the icon of the ingredient.

◆ GetRequiredAmount()

int GetRequiredAmount ( ) const

Returns the amount of this ingredient needed for one unit of the recipe.

◆ SetCraftingAmount()

void SetCraftingAmount ( int _Amount)

Sets how many instances of the recipe are to be crafted.

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AvailableAmount

const int AvailableAmount

Returns the amount of this ingredient in the player's inventory.

◆ CraftingAmount

int CraftingAmount

Returns the amount of units that are to be crafted.

◆ IconSoftObjectPtr

const TSoftObjectPtr<UTexture2D> IconSoftObjectPtr

Returns the icon of the ingredient.

◆ m_OnAvailableAmountChanged

Event that is called when the available amount changes.

◆ m_OnCraftingAmountChanged

Event that is called when the crafting amount changes.

◆ RequiredAmount

const int RequiredAmount

Returns the amount of this ingredient needed for one unit of the recipe.