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

UCraftingRecipeUIData. More...

Static Public Member Functions

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

Public Attributes

CraftingRecipeUIData
bool m_HasUnseenChanges
 If the slot has any unseen changes or not.
Variables
FUnseenStateChangedDelegate__CraftingRecipeUIData m_OnUnseenStateChanged
 Event that is triggered when the unseen state of the item changes (if it has unseen changes or not).
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

Recipe UI Data

const FText Description
 Returns the description of the recipe.
const int CraftableAmount
 Returns the maximum quantity of this product that can be crafted.
FAmountChangedDelegate__CraftingRecipeUIData m_OnCraftableAmountChanged
 Event that is called when the craftable amount changes.
const TSoftObjectPtr< UTexture2D > IconSoftObjectPtr
 Returns the icon of the recipe.
const TArray< UCraftingIngredientUIData > Ingredients
 Returns the list of ingredients required to craft this product.
const FText Name
 Returns the name of the recipe.
const TArray< FCraftingProductUIData > Products
 Returns the list of products produced by this recipe.
const FText & GetDescription () const
 Returns the description of the recipe.
TSoftObjectPtr< UTexture2D > GetIconSoftObjectPtr () const
 Returns the icon of the recipe.
const TArray< UCraftingIngredientUIData > & GetIngredients () const
 Returns the list of ingredients required to craft this product.
const FText & GetName () const
 Returns the name of the recipe.
const TArray< FCraftingProductUIData > & GetProducts () const
 Returns the list of products produced by this recipe.
bool IsCraftable () const
 Returns if this product is currently craftable (i.e. if the player has the required ingredients in his inventory).
int GetCraftableAmount () const
 Returns the maximum quantity of this product that can be crafted.

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

Detailed Description

UCraftingRecipeUIData.

Data needed by the UI for a crafting recipe.

Member Function Documentation

◆ GetCraftableAmount()

int GetCraftableAmount ( ) const

Returns the maximum quantity of this product that can be crafted.

◆ GetDescription()

const FText & GetDescription ( ) const

Returns the description of the recipe.

◆ GetIconSoftObjectPtr()

TSoftObjectPtr< UTexture2D > GetIconSoftObjectPtr ( ) const

Returns the icon of the recipe.

◆ GetIngredients()

const TArray< UCraftingIngredientUIData > & GetIngredients ( ) const

Returns the list of ingredients required to craft this product.

◆ GetName()

const FText & GetName ( ) const

Returns the name of the recipe.

◆ GetProducts()

const TArray< FCraftingProductUIData > & GetProducts ( ) const

Returns the list of products produced by this recipe.

◆ IsCraftable()

bool IsCraftable ( ) const

Returns if this product is currently craftable (i.e. if the player has the required ingredients in his inventory).

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ CraftableAmount

const int CraftableAmount

Returns the maximum quantity of this product that can be crafted.

◆ Description

const FText Description

Returns the description of the recipe.

◆ IconSoftObjectPtr

const TSoftObjectPtr<UTexture2D> IconSoftObjectPtr

Returns the icon of the recipe.

◆ Ingredients

const TArray<UCraftingIngredientUIData> Ingredients

Returns the list of ingredients required to craft this product.

◆ m_HasUnseenChanges

bool m_HasUnseenChanges

If the slot has any unseen changes or not.

◆ m_OnCraftableAmountChanged

Event that is called when the craftable amount changes.

◆ m_OnUnseenStateChanged

Event that is triggered when the unseen state of the item changes (if it has unseen changes or not).

◆ Name

const FText Name

Returns the name of the recipe.

◆ Products

const TArray<FCraftingProductUIData> Products

Returns the list of products produced by this recipe.