class
InventoryItemDisplay
- 19 properties
- 19 functions
- 1 derived class
Extends BaseButtonView ink.DiscreteNavigationController ink.WidgetLogicController ink.IWidgetLogicController IScriptable ISerializable
Derived
Properties
| Property | Type | Offset | |
|---|---|---|---|
RarityRoot | ink.WidgetReference | 0x10 | scripted |
ModsRoot | ink.CompoundWidgetReference | 0x28 | scripted |
RarityWrapper | ink.WidgetReference | 0x40 | scripted |
IconImage | ink.ImageWidgetReference | 0x58 | scripted |
IconShadowImage | ink.ImageWidgetReference | 0x70 | scripted |
IconFallback | ink.ImageWidgetReference | 0x88 | scripted |
BackgroundShape | ink.ImageWidgetReference | 0xA0 | scripted |
BackgroundHighlight | ink.ImageWidgetReference | 0xB8 | scripted |
BackgroundFrame | ink.ImageWidgetReference | 0xD0 | scripted |
QuantityText | ink.TextWidgetReference | 0xE8 | scripted |
ModName | CName | 0x100 | scripted |
toggleHighlight | ink.WidgetReference | 0x108 | scripted |
equippedIcon | ink.WidgetReference | 0x120 | scripted |
DefaultCategoryIconName | string | 0x138 | scripted |
ItemData | game.InventoryItemData | 0x158 | scripted |
AttachementsDisplay | WeakHandle<InventoryItemAttachmentDisplay>[] | 0x3B8 | scripted |
smallSize | Vector2 | 0x3C8 | scripted |
bigSize | Vector2 | 0x3D0 | scripted |
owner | WeakHandle<game.Object> | 0x3D8 | scripted |
Functions
bool OnInitialize()overrideRTTIre.Hooks.Place( "InventoryItemDisplay", "OnInitialize", (InventoryItemDisplay_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_OnInitialize( InventoryItemDisplay self );void Setup(game.InventoryItemData itemData, ent.Entity? ownerEntity)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "Setup;script_ref<InventoryItemData>Entity", (InventoryItemDisplay_Setup x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_Setup( InventoryItemDisplay self, game.InventoryItemData itemData, ent.Entity? ownerEntity );void RefreshUI()RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "RefreshUI;", (InventoryItemDisplay_RefreshUI x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_RefreshUI( InventoryItemDisplay self );void SetItemSize()RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SetItemSize;", (InventoryItemDisplay_SetItemSize x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SetItemSize( InventoryItemDisplay self );void SetRarity(CName quality)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SetRarity;CName", (InventoryItemDisplay_SetRarity x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SetRarity( InventoryItemDisplay self, CName quality );void SetQuantity(int itemQuantity)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SetQuantity;Int32", (InventoryItemDisplay_SetQuantity x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SetQuantity( InventoryItemDisplay self, int itemQuantity );Vector2 GetShapeSize(game.InventoryItemShape shapeType)RTTIre.Hooks.Place( "InventoryItemDisplay", "GetShapeSize;EInventoryItemShape", (InventoryItemDisplay_GetShapeSize x) => { return re.Hooks.CallOriginal<re.msgpack.Vector2>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_GetShapeSize( InventoryItemDisplay self, game.InventoryItemShape shapeType );void SetShape(game.InventoryItemShape shapeType)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SetShape;EInventoryItemShape", (InventoryItemDisplay_SetShape x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SetShape( InventoryItemDisplay self, game.InventoryItemShape shapeType );void UpdateIcon()RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "UpdateIcon;", (InventoryItemDisplay_UpdateIcon x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_UpdateIcon( InventoryItemDisplay self );void ShowMods(game.InventoryItemAttachments[] attachements)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "ShowMods;script_ref<array<InventoryItemAttachments>>", (InventoryItemDisplay_ShowMods x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_ShowMods( InventoryItemDisplay self, game.InventoryItemAttachments[] attachements );void SetEquippedState(bool equipped)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SetEquippedState;Bool", (InventoryItemDisplay_SetEquippedState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SetEquippedState( InventoryItemDisplay self, bool equipped );void SelectItem()RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "SelectItem;", (InventoryItemDisplay_SelectItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_SelectItem( InventoryItemDisplay self );void UnselectItem()RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "UnselectItem;", (InventoryItemDisplay_UnselectItem x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_UnselectItem( InventoryItemDisplay self );void ButtonStateChanged(ink.EButtonState oldState, ink.EButtonState newState)overrideRTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "ButtonStateChanged;inkEButtonStateinkEButtonState", (InventoryItemDisplay_ButtonStateChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_ButtonStateChanged( InventoryItemDisplay self, ink.EButtonState oldState, ink.EButtonState newState );bool OnButtonClick(WeakHandle<ink.ButtonController> controller)RTTIre.Hooks.Place( "InventoryItemDisplay", "OnButtonClick", (InventoryItemDisplay_OnButtonClick x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_OnButtonClick( InventoryItemDisplay self, WeakHandle<ink.ButtonController> controller );void Mark(int index)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "Mark;Int32", (InventoryItemDisplay_Mark x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_Mark( InventoryItemDisplay self, int index );void PlayIntroAnimation(float delay, float duration)RTTIre.Hooks.PlaceVoid( "InventoryItemDisplay", "PlayIntroAnimation;FloatFloat", (InventoryItemDisplay_PlayIntroAnimation x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_PlayIntroAnimation( InventoryItemDisplay self, float delay, float duration );game.InventoryItemData GetItemData()RTTIre.Hooks.Place( "InventoryItemDisplay", "GetItemData;", (InventoryItemDisplay_GetItemData x) => { return re.Hooks.CallOriginal<re.msgpack.game.InventoryItemData>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemDisplay_GetItemData( InventoryItemDisplay self );WeakHandle<ink.Widget> GetWidgetForTooltip()RTTI