struct game
InventoryItemData
game.InventoryItemData
- 58 properties
- 6 functions
- 608 bytes
Properties
| Property | Type | Offset | |
|---|---|---|---|
ID | game.ItemID | 0x0 | |
SlotID | TDBID | 0x10 | |
Name | string | 0x18 | |
Quality | CName | 0x38 | |
QualityF | float | 0x40 | |
Quantity | int | 0x44 | |
Ammo | int | 0x48 | |
Shape | game.InventoryItemShape | 0x4C | |
ItemShape | game.InventoryItemShape | 0x4D | |
IconPath | string | 0x50 | |
CategoryName | string | 0x70 | |
ItemType | game.data.ItemType | 0x90 | |
LocalizedItemType | string | 0x98 | |
Description | string | 0xB8 | |
AdditionalDescription | string | 0xD8 | |
GameplayDescription | string | 0xF8 | |
Price | float | 0x118 | |
BuyPrice | float | 0x11C | |
UnlockProgress | float | 0x120 | |
RequiredLevel | int | 0x124 | |
ItemLevel | int | 0x128 | |
DamageType | game.data.DamageType | 0x12C | |
EquipmentArea | game.data.EquipmentArea | 0x130 | |
ComparedQuality | game.data.Quality | 0x134 | |
Empty | bool | 0x138 | |
IsPart | bool | 0x139 | |
IsCraftingMaterial | bool | 0x13A | |
IsEquipped | bool | 0x13B | |
IsNew | bool | 0x13C | |
IsAvailable | bool | 0x13D | |
IsVendorItem | bool | 0x13E | |
IsBroken | bool | 0x13F | |
SlotIndex | int | 0x140 | |
PositionInBackpack | uint | 0x144 | |
IconGender | game.ItemIconGender | 0x148 | |
GameItemData | WeakHandle<game.ItemData> | 0x150 | |
HasPlayerSmartGunLink | bool | 0x160 | |
PlayerLevel | int | 0x164 | |
PlayerStrength | int | 0x168 | |
PlayerReflexes | int | 0x16C | |
PlayerStreetCred | int | 0x170 | |
IsRequirementMet | bool | 0x174 | |
IsEquippable | bool | 0x175 | |
IsVisualsEquipped | bool | 0x176 | |
Requirement | game.SItemStackRequirementData | 0x178 | |
EquipRequirement | game.SItemStackRequirementData | 0x180 | |
EquipRequirements | game.SItemStackRequirementData[] | 0x188 | |
LootItemType | game.LootItemType | 0x198 | |
Attachments | game.InventoryItemAttachments?[] | 0x1A0 | |
Abilities | game.InventoryItemAbility[] | 0x1B0 | |
PlacementSlots | TDBID[] | 0x1C0 | |
PrimaryStats | game.StatViewData[] | 0x1D0 | |
SecondaryStats | game.StatViewData[] | 0x1E0 | |
SortData | game.InventoryItemSortData | 0x1F0 | |
IsPerkRequired | bool | 0x230 | |
PerkRequiredName | string | 0x238 | |
IsCrafted | bool | 0x258 | |
IsIconic | bool | 0x259 |
Functions
static int GetDPS(game.InventoryItemData self)staticRTTIre.Hooks.Place( "gameInventoryItemData", "GetDPS", (InventoryItemData_GetDPS x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_GetDPS( game.InventoryItemData self );static float GetDPSF(game.InventoryItemData self)staticRTTIre.Hooks.Place( "gameInventoryItemData", "GetDPSF", (InventoryItemData_GetDPSF x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_GetDPSF( game.InventoryItemData self );static void GetArmor()staticRTTIre.Hooks.PlaceVoid( "gameInventoryItemData", "GetArmor", (InventoryItemData_GetArmor x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_GetArmor();static float GetArmorF(game.InventoryItemData self)staticRTTIre.Hooks.Place( "gameInventoryItemData", "GetArmorF", (InventoryItemData_GetArmorF x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_GetArmorF( game.InventoryItemData self );static bool IsWeapon(game.InventoryItemData self)staticRTTIre.Hooks.Place( "gameInventoryItemData", "IsWeapon", (InventoryItemData_IsWeapon x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_IsWeapon( game.InventoryItemData self );static bool IsGarment(game.InventoryItemData self)staticRTTIre.Hooks.Place( "gameInventoryItemData", "IsGarment", (InventoryItemData_IsGarment x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct InventoryItemData_IsGarment( game.InventoryItemData self );