class
InventoryUtils
- 0 properties
- 5 functions
Extends IScriptable ISerializable
Properties
None.
Functions
static game.InventoryItemAttachments?[] GetMods(game.InventoryItemData itemData, bool onlyGeneric)staticRTTI globalstatic game.InventoryItemAttachments?[] GetParts(game.InventoryItemData itemData)staticRTTI globalstatic float GetInnerItemStatValueByType(game.ItemData item, TDBID slot, game.data.StatType stat)staticRTTI globalre.Hooks.Place( "InventoryUtils", "InventoryUtils::GetInnerItemStatValueByType;gameItemDataTweakDBIDgamedataStatType", (InventoryUtils_GetInnerItemStatValueByType x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryUtils_GetInnerItemStatValueByType( game.ItemData? item, TDBID slot, game.data.StatType stat );static WeaponPartType GetPartType(game.InventoryItemAttachments attachmentData)staticRTTI globalre.Hooks.Place( "InventoryUtils", "InventoryUtils::GetPartType;InventoryItemAttachments", (InventoryUtils_GetPartType x) => { return re.Hooks.CallOriginal<re.msgpack.WeaponPartType>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryUtils_GetPartType( game.InventoryItemAttachments? attachmentData );static bool IsPart(TDBID attachmentSlotID)staticRTTI globalre.Hooks.Place( "InventoryUtils", "InventoryUtils::IsPart;TweakDBID", (InventoryUtils_IsPart x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryUtils_IsPart( TDBID attachmentSlotID );