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

UInventorySlotData. More...

Static Public Member Functions

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

Public Attributes

InventorySlotData
TSoftObjectPtr< UTexture2D > m_IconPath
 The path of the icon to be loaded.
FText m_Name
 Name of the item localized.
FText m_Description
 Description of the item localized.
EInventoryTypes m_InventoryType
 Which inventory type location is the object in.
int m_Value
 The amount of ore the item is valued for.
int m_PreviousValue
FString m_Hotkey
 If the item is equipped in a hotkey and which one.
int m_Amount
 How many items are in a stack.
int m_Pos
 Position in the filtered inventory.
bool m_IsEmpty
 If the item is empty to show the Empty Icon on the Inventory.
int m_TraderItemIndex
 Special Trader Index for the item.
bool m_ShowValue
 If the Value info needs to be shown or not.
bool m_IsActive
 If the icon is clickable or not.
bool m_CanBeClicked
 If the icon is marked with red or not.
bool m_CanBeUsedByPlayer
 This Flag specificically is for the player usage.
bool m_HasUnseenChanges
 If the slot has any unseen changes or not.
Variables
FUnseenStateChangedDelegate__InventorySlotData 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

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

UInventorySlotData.

This class serves as a data object to store the information needed by the InventorySlot widget, which is inside always inside a list, to be properly configured

Member Function Documentation

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ m_Amount

int m_Amount

How many items are in a stack.

◆ m_CanBeClicked

bool m_CanBeClicked

If the icon is marked with red or not.

◆ m_CanBeUsedByPlayer

bool m_CanBeUsedByPlayer

This Flag specificically is for the player usage.

◆ m_Description

FText m_Description

Description of the item localized.

◆ m_HasUnseenChanges

bool m_HasUnseenChanges

If the slot has any unseen changes or not.

◆ m_Hotkey

FString m_Hotkey

If the item is equipped in a hotkey and which one.

◆ m_IconPath

The path of the icon to be loaded.

◆ m_InventoryType

EInventoryTypes m_InventoryType

Which inventory type location is the object in.

◆ m_IsActive

bool m_IsActive

If the icon is clickable or not.

◆ m_IsEmpty

bool m_IsEmpty

If the item is empty to show the Empty Icon on the Inventory.

◆ m_Name

FText m_Name

Name of the item localized.

◆ m_OnUnseenStateChanged

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

◆ m_Pos

int m_Pos

Position in the filtered inventory.

◆ m_PreviousValue

int m_PreviousValue

◆ m_ShowValue

bool m_ShowValue

If the Value info needs to be shown or not.

◆ m_TraderItemIndex

int m_TraderItemIndex

Special Trader Index for the item.

◆ m_Value

int m_Value

The amount of ore the item is valued for.