class
UIInventoryItemStatsManager
- 14 properties
- 33 functions
Extends IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
Stats | UIInventoryItemStat?[] | 0x0 | scripted |
TooltipStats | UIInventoryItemStat?[] | 0x10 | scripted |
AdditionalStats | UIInventoryItemStat?[] | 0x20 | scripted |
AttributeAllocationStats | UIInventoryItemStat?[] | 0x30 | scripted |
item | WeakHandle<UIInventoryItem> | 0x40 | scripted |
gameItemData | WeakHandle<game.ItemData> | 0x50 | scripted |
itemType | game.data.ItemType | 0x60 | scripted |
manager | WeakHandle<UIInventoryItemsManager> | 0x68 | scripted |
statMap | WeakHandle<game.data.UIStatsMap_Record> | 0x78 | scripted |
statsFetched | bool | 0x88 | scripted |
tooltipStatsFetched | bool | 0x89 | scripted |
weaponBars | UIInventoryItemWeaponBars? | 0x90 | scripted |
weaponBarsFetched | bool | 0xA0 | scripted |
useBareStats | bool | 0xA1 | scripted |
Functions
void SetTooltipsStats(UIInventoryItemStat[] tooltipStats)RTTIre.Hooks.PlaceVoid( "UIInventoryItemStatsManager", "SetTooltipsStats;script_ref<array<UIInventoryItemStat>>", (UIInventoryItemStatsManager_SetTooltipsStats x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_SetTooltipsStats( UIInventoryItemStatsManager self, UIInventoryItemStat[] tooltipStats );void FetchSecondayStats()RTTIre.Hooks.PlaceVoid( "UIInventoryItemStatsManager", "FetchSecondayStats;", (UIInventoryItemStatsManager_FetchSecondayStats x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_FetchSecondayStats( UIInventoryItemStatsManager self );void FetchTooltipStats()RTTIre.Hooks.PlaceVoid( "UIInventoryItemStatsManager", "FetchTooltipStats;", (UIInventoryItemStatsManager_FetchTooltipStats x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_FetchTooltipStats( UIInventoryItemStatsManager self );WeakHandle<UIInventoryItemStat> FetchAdditionalStatByType(game.data.StatType statType)RTTIUIInventoryItemStat? InternalFetchStatByType(game.data.StatType statType, TDBID statId, bool skipEmpty)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "InternalFetchStatByType;gamedataStatTypeTweakDBIDBool", (UIInventoryItemStatsManager_InternalFetchStatByType x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemStat>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_InternalFetchStatByType( UIInventoryItemStatsManager self, game.data.StatType statType, TDBID statId, bool skipEmpty );int Size()RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "Size;", (UIInventoryItemStatsManager_Size x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_Size( UIInventoryItemStatsManager self );int SizeTooltipStats()RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "SizeTooltipStats;", (UIInventoryItemStatsManager_SizeTooltipStats x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_SizeTooltipStats( UIInventoryItemStatsManager self );int SizeAttributeAllocationStats()RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "SizeAttributeAllocationStats;", (UIInventoryItemStatsManager_SizeAttributeAllocationStats x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_SizeAttributeAllocationStats( UIInventoryItemStatsManager self );WeakHandle<UIInventoryItemStat> Get(int index)RTTIWeakHandle<UIInventoryItemStat> GetTooltipStat(int index)RTTIWeakHandle<UIInventoryItemStat> GetAttributeAllocationStats(int index)RTTIWeakHandle<UIInventoryItemStat> GetByType(game.data.StatType type)RTTIWeakHandle<UIInventoryItemStat> GetTooltipStatByType(game.data.StatType type)RTTIWeakHandle<UIInventoryItemStat> GetAdditionalStatByType(game.data.StatType type)RTTIWeakHandle<UIInventoryItemStat> GetAttributeAllocationStatByType(game.data.StatType type)RTTIUIInventoryItemWeaponBarsType GetWeaponBarsType(game.data.ItemType itemType, WeakHandle<UIInventoryItem> item)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "GetWeaponBarsType;gamedataItemTypeUIInventoryItem", (UIInventoryItemStatsManager_GetWeaponBarsType x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemWeaponBarsType>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_GetWeaponBarsType( UIInventoryItemStatsManager self, game.data.ItemType itemType, WeakHandle<UIInventoryItem> item );UIInventoryItemWeaponBarsType GetWeaponBarsType(game.data.ItemType itemType, game.ItemData itemData)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "GetWeaponBarsType;gamedataItemTypegameItemData", (UIInventoryItemStatsManager_GetWeaponBarsType2 x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemWeaponBarsType>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_GetWeaponBarsType2( UIInventoryItemStatsManager self, game.data.ItemType itemType, game.ItemData? itemData );bool IsItemTypeUsingBars(UIInventoryItem itemData)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "IsItemTypeUsingBars;UIInventoryItem", (UIInventoryItemStatsManager_IsItemTypeUsingBars x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_IsItemTypeUsingBars( UIInventoryItemStatsManager self, UIInventoryItem? itemData );WeakHandle<UIInventoryItemWeaponBars> GetWeaponBars(bool? force)RTTIvoid FlushComparedBars()RTTIre.Hooks.PlaceVoid( "UIInventoryItemStatsManager", "FlushComparedBars;", (UIInventoryItemStatsManager_FlushComparedBars x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_FlushComparedBars( UIInventoryItemStatsManager self );WeakHandle<game.ItemData> GetGameItemData()RTTIWeakHandle<PlayerPuppet> GetAttachedPlayer()RTTIbool IsCurveBarsEnabled()RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "IsCurveBarsEnabled;", (UIInventoryItemStatsManager_IsCurveBarsEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_IsCurveBarsEnabled( UIInventoryItemStatsManager self );bool IsSeparatorBarsEnabled()RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "IsSeparatorBarsEnabled;", (UIInventoryItemStatsManager_IsSeparatorBarsEnabled x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_IsSeparatorBarsEnabled( UIInventoryItemStatsManager self );CName GetPercentageCurveName(WeaponBarType type)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "GetPercentageCurveName;WeaponBarType", (UIInventoryItemStatsManager_GetPercentageCurveName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_GetPercentageCurveName( UIInventoryItemStatsManager self, WeaponBarType type );float GetPercentageFromCurve(WeaponBarType type, float value)RTTIre.Hooks.Place( "UIInventoryItemStatsManager", "GetPercentageFromCurve;WeaponBarTypeFloat", (UIInventoryItemStatsManager_GetPercentageFromCurve x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_GetPercentageFromCurve( UIInventoryItemStatsManager self, WeaponBarType type, float value );static bool IsUsingCurveCustom(game.data.ItemType itemType, WeaponBarType type)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::IsUsingCurveCustom;gamedataItemTypeWeaponBarType", (UIInventoryItemStatsManager_IsUsingCurveCustom x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_IsUsingCurveCustom( game.data.ItemType itemType, WeaponBarType type );static UIInventoryItemStatsManager? FromMinimalItemTooltipDataToTooltipStats(MinimalItemTooltipData data, WeakHandle<UIInventoryItemsManager> manager)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::FromMinimalItemTooltipDataToTooltipStats;MinimalItemTooltipDataUIInventoryItemsManager", (UIInventoryItemStatsManager_FromMinimalItemTooltipDataToTooltipStats x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemStatsManager>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_FromMinimalItemTooltipDataToTooltipStats( MinimalItemTooltipData? data, WeakHandle<UIInventoryItemsManager> manager );static UIInventoryItemStatsManager? Make(WeakHandle<game.ItemData> itemData, WeakHandle<game.data.UIStatsMap_Record> statMap, WeakHandle<UIInventoryItemsManager> manager)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::Make;gameItemDataUIStatsMap_RecordUIInventoryItemsManager", (UIInventoryItemStatsManager_Make x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemStatsManager>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_Make( WeakHandle<game.ItemData> itemData, WeakHandle<game.data.UIStatsMap_Record> statMap, WeakHandle<UIInventoryItemsManager> manager );static UIInventoryItemStatsManager? Make(WeakHandle<UIInventoryItem> item, WeakHandle<game.data.UIStatsMap_Record> statMap, WeakHandle<UIInventoryItemsManager> manager)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::Make;UIInventoryItemUIStatsMap_RecordUIInventoryItemsManager", (UIInventoryItemStatsManager_Make2 x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemStatsManager>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_Make2( WeakHandle<UIInventoryItem> item, WeakHandle<game.data.UIStatsMap_Record> statMap, WeakHandle<UIInventoryItemsManager> manager );static bool IsBarTypeMelee(WeaponBarType type)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::IsBarTypeMelee;WeaponBarType", (UIInventoryItemStatsManager_IsBarTypeMelee x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_IsBarTypeMelee( WeaponBarType type );static game.data.StatType MapBarTypeToStat(WeaponBarType type)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::MapBarTypeToStat;WeaponBarType", (UIInventoryItemStatsManager_MapBarTypeToStat x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.StatType>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_MapBarTypeToStat( WeaponBarType type );static UIInventoryItemStatsManager? FromMinimalItemTooltipData(MinimalItemTooltipData data, WeakHandle<UIInventoryItemsManager> manager)staticRTTI globalre.Hooks.Place( "UIInventoryItemStatsManager", "UIInventoryItemStatsManager::FromMinimalItemTooltipData;MinimalItemTooltipDataUIInventoryItemsManager", (UIInventoryItemStatsManager_FromMinimalItemTooltipData x) => { return re.Hooks.CallOriginal<re.msgpack.UIInventoryItemStatsManager>(); } ); [Msgpack.Gen] public readonly partial record struct UIInventoryItemStatsManager_FromMinimalItemTooltipData( MinimalItemTooltipData? data, WeakHandle<UIInventoryItemsManager> manager );