class
NewItemTooltipStatBarController
- 13 properties
- 8 functions
Extends ink.WidgetLogicController ink.IWidgetLogicController IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
background | ink.WidgetReference | 0x0 | scripted |
bar | ink.WidgetReference | 0x18 | scripted |
comparisonBar | ink.WidgetReference | 0x30 | scripted |
statName | ink.TextWidgetReference | 0x48 | scripted |
overflow | ink.TextWidgetReference | 0x60 | scripted |
statValue | ink.TextWidgetReference | 0x78 | scripted |
comparisonArrow | ink.WidgetReference | 0x90 | scripted |
separators | ink.WidgetReference | 0xA8 | scripted |
barAnimProxy | ink.anim.Proxy? | 0xC0 | scripted |
diffBarAnimProxy | ink.anim.Proxy? | 0xD0 | scripted |
betterColor | HDRColor | 0xE0 | scripted |
worseColor | HDRColor | 0xF0 | scripted |
width | float | 0x100 | scripted |
Functions
bool OnInitialize()RTTIre.Hooks.Place( "NewItemTooltipStatBarController", "OnInitialize", (NewItemTooltipStatBarController_OnInitialize x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_OnInitialize( NewItemTooltipStatBarController self );void SetupColors(HDRColor betterColor, HDRColor worseColor)RTTIre.Hooks.PlaceVoid( "NewItemTooltipStatBarController", "SetupColors;HDRColorHDRColor", (NewItemTooltipStatBarController_SetupColors x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_SetupColors( NewItemTooltipStatBarController self, HDRColor betterColor, HDRColor worseColor );void ResetPercentage()RTTIre.Hooks.PlaceVoid( "NewItemTooltipStatBarController", "ResetPercentage;", (NewItemTooltipStatBarController_ResetPercentage x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_ResetPercentage( NewItemTooltipStatBarController self );void SetSeparatorsVisibility(bool visible)RTTIre.Hooks.PlaceVoid( "NewItemTooltipStatBarController", "SetSeparatorsVisibility;Bool", (NewItemTooltipStatBarController_SetSeparatorsVisibility x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_SetSeparatorsVisibility( NewItemTooltipStatBarController self, bool visible );void Setup(game.data.ItemType itemType, WeakHandle<UIInventoryItemWeaponBar> bar, WeakHandle<UIInventoryItemWeaponBar> comparedBar)RTTIre.Hooks.PlaceVoid( "NewItemTooltipStatBarController", "Setup;gamedataItemTypeUIInventoryItemWeaponBarUIInventoryItemWeaponBar", (NewItemTooltipStatBarController_Setup x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_Setup( NewItemTooltipStatBarController self, game.data.ItemType itemType, WeakHandle<UIInventoryItemWeaponBar> bar, WeakHandle<UIInventoryItemWeaponBar> comparedBar );float GetNumericValue(game.data.ItemType itemType, WeaponBarType barType, float value, float maxValue)RTTIre.Hooks.Place( "NewItemTooltipStatBarController", "GetNumericValue;gamedataItemTypeWeaponBarTypeFloatFloat", (NewItemTooltipStatBarController_GetNumericValue x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_GetNumericValue( NewItemTooltipStatBarController self, game.data.ItemType itemType, WeaponBarType barType, float value, float maxValue );string BarTypeToName(WeaponBarType barType)RTTIre.Hooks.Place( "NewItemTooltipStatBarController", "BarTypeToName;WeaponBarType", (NewItemTooltipStatBarController_BarTypeToName x) => { return re.Hooks.CallOriginal<re.msgpack.Str>(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_BarTypeToName( NewItemTooltipStatBarController self, WeaponBarType barType );void AnimateBars(WeaponBarType barType, float percentage, float comparedPercentage, bool isBetter)RTTIre.Hooks.PlaceVoid( "NewItemTooltipStatBarController", "AnimateBars;WeaponBarTypeFloatFloatBool", (NewItemTooltipStatBarController_AnimateBars x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NewItemTooltipStatBarController_AnimateBars( NewItemTooltipStatBarController self, WeaponBarType barType, float percentage, float comparedPercentage, bool isBetter );