REDNODE / GAME API

InventoryItemDisplay

classscriptedClass

extends BaseButtonView › inkDiscreteNavigationController › inkLogicController › inkILogicController › IScriptable › ISerializable

Extended by 1 type

InventoryWideItemDisplay

Properties 19

NameTypeFlags
AttachementsDisplayarray<wref<InventoryItemAttachmentDisplay>>scriptedprotected
BackgroundFrameinkImageRefscriptedprotected
BackgroundHighlightinkImageRefscriptedprotected
BackgroundShapeinkImageRefscriptedprotected
bigSizeVector2scriptedprotected
DefaultCategoryIconNameStringscriptedprotected
equippedIconinkWidgetRefscriptedprotected
IconFallbackinkImageRefscriptedprotected
IconImageinkImageRefscriptedprotected
IconShadowImageinkImageRefscriptedprotected
ItemDataInventoryItemDatascriptedprotected
ModNameCNamescriptedprotected
ModsRootinkCompoundRefscriptedprotected
ownerwref<GameObject>scriptedprivate
QuantityTextinkTextRefscriptedprotected
RarityRootinkWidgetRefscriptedprotected
RarityWrapperinkWidgetRefscriptedprotected
smallSizeVector2scriptedprotected
toggleHighlightinkWidgetRefscriptedprotected

Methods 19

protected func ButtonStateChanged(oldState: inkEButtonState, newState: inkEButtonState)scripted
public final func GetItemData() -> InventoryItemDatascripted
protected func GetShapeSize(shapeType: EInventoryItemShape) -> Vector2scripted
public final func GetWidgetForTooltip() -> wref<inkWidget>scripted
public final func Mark(index: Int32)scripted
protected cb func OnButtonClick(controller: wref<inkButtonController>) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
public final func PlayIntroAnimation(delay: Float, duration: Float)scripted
protected func RefreshUI()scripted
public final func SelectItem()scripted
public final func SetEquippedState(equipped: Bool)scripted
protected func SetItemSize()scripted
protected func SetQuantity(itemQuantity: Int32)scripted
protected func SetRarity(quality: CName)scripted
protected func SetShape(shapeType: EInventoryItemShape)scripted
public func Setup(itemData: script_ref<InventoryItemData>, opt ownerEntity: ref<Entity>)scripted
protected func ShowMods(attachements: script_ref<array<ref<InventoryItemAttachments>>>)scripted
public final func UnselectItem()scripted
protected func UpdateIcon()scripted