class InventoryItem
InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Full hierarchy 1.843Full members 910
- Managed
- IEntity
- Object
- ObjectTyped
- Entity
- EntityAI
- InventoryItem
- FemaleFeet_Base
- FemaleHands_Base
- FemaleLegs_Base
- FemaleTorso_Base
- ItemBase
1.712
- BaitBase
- BandageDressing
- BarbedWire
- Bark_ColorBase
- BaseBuildingBase
- Battery9V
- BatteryCharger
- BatteryD
- BloodContainerBase
- Blowtorch
- Bone
- BrakeFluid
- BurlapStrip
- ButaneCanister
- CableReel
- CamoNet
- CamoNetShelter
- CattleProd
- Chemlight_ColorBase
- Clothing_Base
1.027
- Clothing
1.026
- Armband_ColorBase
- Backpack_Base
91
- AliceBag_ColorBase
- ArmyPouch_ColorBase
- AssaultBag_ColorBase
- Attack2Bag_ColorBase
- CanvasBag_ColorBase
- ChildBag_ColorBase
- CourierBag
- CoyoteBag_ColorBase
- DryBag_ColorBase
- DrysackBag_ColorBase
- DuffelBagSmall_ColorBase
- FurCourierBag
- FurImprovisedBag
- GhillieBushrag_ColorBase
- GhillieSuit_ColorBase
- GhillieTop_ColorBase
- HuntingBag
- ImprovisedBag
- LargeTentBackPack
- LeatherSack_ColorBase
- MountainBag_ColorBase
- SlingBag_ColorBase
- SmershBag
- TaloonBag_ColorBase
- TortillaBag
- Bandana_ColorBase
- Belt_Base
19
- Glasses_Base
28
- Gloves_Base
47
- HeadGear_Base
241
- BaseballCap_ColorBase
- BeanieHat_ColorBase
- BoonieHat_ColorBase
- BudenovkaHat_ColorBase
- BurlapSackCover
- Chainmail_Coif
- ChristmasHeadband_ColorBase
- CowboyHat_ColorBase
- FlatCap_ColorBase
- GhillieHood_ColorBase
- HeadCover_Improvised
- Headdress_Colorbase
- Headdress_Fox
- HelmetBase
69
- BallisticHelmet_ColorBase
- ConstructionHelmet_ColorBase
- DarkMotoHelmet_ColorBase
- DirtBikeHelmet_ColorBase
- FirefightersHelmet_ColorBase
- GorkaHelmet
- GreatHelm
- HockeyHelmet_ColorBase
- Mich2001Helmet
- MotoHelmet_ColorBase
- NorseHelm
- PumpkinHelmet
- SkateHelmet_ColorBase
- Ssh68Helmet
- T56TankerHelmet_Colorbase
- WeldingMask
- ZSh3PilotHelmet
- LeafCrown_Colorbase
- LeatherHat_ColorBase
- MedicalScrubsHat_ColorBase
- MilitaryBeret_ColorBase
- MilitaryCap_ColorBase
- MorozkoHat
- NBCHood
- NBCHoodBase
- OBRCap_ColorBase
- OfficerHat
- OKZKCap_ColorBase
- PakolHat_ColorBase
- PetushokHat_ColorBase
- PilotkaCap
- PoliceCap
- PrisonerCap
- RadarCap_ColorBase
- SantasHat
- SherpaHat_ColorBase
- SnowstormUshanka_ColorBase
- TankerHelmet
- TurbanHat_ColorBase
- Ushanka_ColorBase
- WinterCoif_ColorBase
- WitchHat
- WitchHood_ColorBase
- WitchHoodCoif_ColorBase
- ZmijovkaCap_ColorBase
- Headtorch_ColorBase
- Keffiyeh_ColorBase
- KnifeHolster
- LeatherMoccasinsShoes_Natural
- Mask_Base
35
- Pants_Base
131
- BDUPants
- Breeches_ColorBase
- CanvasPants_ColorBase
- CanvasPantsMidi_ColorBase
- CargoPants_ColorBase
- Chainmail_Leggings
- FirefightersPants_ColorBase
- FNOPants
- GorkaPants_ColorBase
- HunterPants_ColorBase
- Jeans_ColorBase
- JumpsuitPants_ColorBase
- LeatherPants_ColorBase
- LegsCover_Improvised
- MedicalScrubsPants_ColorBase
- MensShalwarPants_ColorBase
- NavyUniformPants
- NBCPantsBase
- OBRPants_ColorBase
- OMKPants_ColorBase
- ParamedicPants_ColorBase
- PolicePants
- PolicePantsOrel
- PrisonUniformPants
- ShortJeans_ColorBase
- Skirt_ColorBase
- SlacksPants_ColorBase
- TrackSuitPants_ColorBase
- TTSKOPants
- USMCPants_ColorBase
- WomensShalwarPants_ColorBase
- Shemag_ColorBase
- Shoes_Base
94
- AthleticShoes_ColorBase
- Ballerinas_ColorBase
- ColdOperationBoots_ColorBase
- CombatBoots_ColorBase
- DressShoes_ColorBase
- FeetCover_Improvised
- HikingBoots_ColorBase
- HikingBootsLow_ColorBase
- JoggingShoes_ColorBase
- JungleBoots_ColorBase
- LeatherShoes_ColorBase
- MedievalBoots
- MilitaryBoots_ColorBase
- NBCBootsBase
- SandalsShoes_ColorBase
- Sneakers_ColorBase
- TraditionalBoots_ColorBase
- TraditionalSandalShoes_ColorBase
- TTSKOBoots
- Wellies_ColorBase
- WorkingBoots_ColorBase
- Splint_Applied
- Top_Base
233
- BDUJacket
- Blouse_ColorBase
- BomberJacket_ColorBase
- BushlatPoliceJacket_ColorBase
- Chainmail
- ChernarusSportShirt
- DenimJacket
- DownJacket_ColorBase
- FirefighterJacket_ColorBase
- FNOJacket
- GorkaEJacket_ColorBase
- GulagJacket_ColorBase
- HikingJacket_ColorBase
- Hoodie_ColorBase
- HuntingJacket_ColorBase
- JumpsuitJacket_ColorBase
- KameezShirt_ColorBase
- LabCoat
- LeatherJacket_ColorBase
- LeatherShirt_ColorBase
- M65Jacket_ColorBase
- ManSuit_ColorBase
- MedicalScrubsShirt_ColorBase
- MilitarySweater_ColorBase
- MiniDress_ColorBase
- NavyUniformJacket
- NBCJacketBase
- NurseDress_ColorBase
- OBRJacket_ColorBase
- OMKJacket_ColorBase
- ParamedicJacket_ColorBase
- PilotJacket_ColorBase
- PoliceJacket
- PoliceJacketOrel
- PoliceShortSleeveShirt_ColorBase
- PrisonUniformJacket
- QuiltedJacket_ColorBase
- Raincoat_ColorBase
- RidersJacket_ColorBase
- Shirt_ColorBase
- ShortSleeveShirt_ColorBase
- Sweater_ColorBase
- TacticalShirt_ColorBase
- TelnyashkaShirt
- TorsoCover_Improvised
- TrackSuitJacket_ColorBase
- TShirt_ColorBase
- TTsKOJacket_ColorBase
- USMCJacket_ColorBase
- WinterMilitaryCoat_ColorBase
- WomanSuit_ColorBase
- WoolCoat_ColorBase
- Vest_Base
54
- WitchHood
- Clothing
- CombinationLock
- CommonBrick
- Container_Base
42
- Defibrillator
- DigitalCodeLock
- DuctTape
- DummyItem
- Edible_Base
155
- Achar
- Apple
- Ayran
- BakedBeansCan
- BakedBeansCan_Opened
- Banana
- BearSteakMeat
- Bitterlings
- BoarSteakMeat
- Bottle_Base
- BoxCerealCrunchin
- BrisketSpread
- BrisketSpread_Opened
- Candycane_Colorbase
- CaninaBerry
- Cannabis
- Carp
- CarpFilletMeat
- Catfish
- CatfishFilletMeat
- CharcoalTablets
- ChelatingTablets
- ChickenBreastMeat
- CowSteakMeat
- CrabCan
- CrabCan_Opened
- DeadChicken_ColorBase
- DeadFox
- DeadLizard
- DeadRabbit
- DeerSteakMeat
- DisinfectantAlcohol
- DisinfectantSpray
- DogFoodCan
- DogFoodCan_Opened
- DogSteakMeat
- Figs
- FoxSteakMeat
- GoatSteakMeat
- GreenBellPepper
- Guts
- HalvaCan
- HalvaCan_Opened
- Honey
- HumanSteakMeat
- IodineTincture
- Kiwi
- Lard
- Lassi_Colorbase
- LizardMeat
- Lunchmeat
- Lunchmeat_Opened
- Mackerel
- MackerelFilletMeat
- Marmalade
- MouflonSteakMeat
- MushroomBase
- Orange
- PainkillerTablets
- Pajka
- Pajka_Opened
- Pate
- Pate_Opened
- PeachesCan
- PeachesCan_Opened
- Pear
- PigSteakMeat
- Plum
- PorkCan
- PorkCan_Opened
- Potato
- PowderedMilk
- Pumpkin
- PurificationTablets
- RabbitLegMeat
- RedCaviar
- ReindeerSteakMeat
- Rice
- RoundGoby
- SambucusBerry
- Sardines
- SardinesCan
- SardinesCan_Opened
- SarmaCan
- SarmaCan_Opened
- SheepSteakMeat
- Shrimp
- SlicedPumpkin
- SmallGuts
- Snack_ColorBase
- SodaCan_ColorBase
- SpaghettiCan
- SpaghettiCan_Opened
- SteelheadTrout
- SteelheadTroutFilletMeat
- TacticalBaconCan
- TacticalBaconCan_Opened
- TetracyclineAntibiotics
- Tomato
- TunaCan
- TunaCan_Opened
- UnknownFoodCan
- UnknownFoodCan_Opened
- VitaminBottle
- WalleyePollock
- WalleyePollockFilletMeat
- WolfSteakMeat
- Worm
- Zagorky_ColorBase
- Zucchini
- EngineBelt
- EngineOil
- ExplosivesBase
22
- FarmingHoe
- FieldShovel
- FireplaceBase
- Firewood
- FishingHookBase
- FishingRod_Base
- FishingRod_Base_New
- Flag_Base
33
- Flag_Altis
- Flag_APA
- Flag_BabyDeer
- Flag_Bear
- Flag_Bohemia
- Flag_BrainZ
- Flag_Cannibals
- Flag_CDF
- Flag_Chedaki
- Flag_CHEL
- Flag_Chernarus
- Flag_CMC
- Flag_Crook
- Flag_DayZ
- Flag_HunterZ
- Flag_Livonia
- Flag_LivoniaArmy
- Flag_LivoniaPolice
- Flag_NAPA
- Flag_NSahrani
- Flag_Pirates
- Flag_Refuge
- Flag_Rex
- Flag_Rooster
- Flag_RSTA
- Flag_Snake
- Flag_SSahrani
- Flag_TEC
- Flag_UEC
- Flag_White
- Flag_Wolf
- Flag_Zagorky
- Flag_Zenit
- FlammableBase
- Flashbang
- Flashlight
- GardenBase
- GardenLime
- GasMask_Filter
- GiftWrapPaper
- GlowPlug
- GP5GasMask_Filter
- GrozaGL_LowerReceiver
- HandDrillKit
- Head
- HeadlightH7
- Heatpack
- Inventory_Base
142
- AK_PlasticHndgrd
- AK_RailHndgrd
- AK_WoodHndgrd
- AK74_Hndgrd
- AntiChemInjector
- AntiPestsSpray
- AtlasBipod
- BarbedBaseballBat
- BaseballBat
- BloodTestKit
- BrassKnuckles_ColorBase
- BurlapSack
- ButtstockBase
23
- Candle
- CanOpener
- Cassette
- ChickenFeather
- CigarettePack_ColorBase
- ClearSyringe
- ClockBase
- Crowbar
- DoorTestCamera
- EasterEgg
- ElectronicRepairKit
- Epinephrine
- EpoxyPutty
- Fabric
- FireExtinguisher
- FireworksBase
- FryingPan
- GorkaHelmetVisor
- GunCaseKeys_Colorbase
- Hammer
- HandcuffKeys
- Handcuffs
- HandSaw
- HayHook
- HescoBox
- Iceaxe
- InjectionVial
- LeatherSewingKit
- LongWoodenStick
- LugWrench
- M249_Hndgrd
- M249_RisHndgrd
- M4_MPHndgrd
- M4_PlasticHndgrd
- M4_RISHndgrd
- Mace
- MeatTenderizer
- MessTin
- Morphine
- Mosin_Bayonet
- MP5_PlasticHndgrd
- MP5_RailHndgrd
- NailedBaseballBat
- Nails
- P1907_Bayonet
- Paddle
- Pen_ColorBase
- Pipe
- PipeWrench
- PlantMaterial
- PoliceBaton
- Red9Bttstck
- RemoteDetonator
- Rope
- SalineBag
- SalineBagIV
- ScientificBriefcaseKeys
- SeedBase
- SeedPackBase
- SewingKit
- SKS_Bayonet
- SledgeHammer
- Spear
- Splint
- StartKitIV
- WeaponCleaningKit
- Whetstone
- Wrench
- XmasBaseballBat
- XmasLights
- KitBase
- LargeGasCanister
- LargeGasCannister
- Matchbox
- MediumGasCanister
- MediumGasCannister
- MetalPlate
- MetalWire
- MortarMix
- MortarMix_Opened
- MotorbikePart
- Nail
- Netting
- Paper
- ParticleTest
- Pelt_Base
- PetrolLighter
- Pickaxe
- PileOfBricks
- PileOfWoodenPlanks
- Pitchfork
- PlantBase
- PortableGasLamp
- PortableGasStove
- PowerGeneratorBase
- Rag
- Raycaster
- Refridgerator
- RestrainingToolLocked
- Roadflare
- Shovel
- SmallGasCanister
- SmallGasCannister
- SmallStone
- SodaCan_Empty
- SparkPlug
- Spotlight
- Spraycan_ColorBase
- Stone
- StunBaton
- SuppresorBase
- Switchable_Base
- TannedLeather
- TelescopicBaton
- TentBase
20
- Thermometer
- TireRepairKit
- ToolBase
34
- TrapBase
- TrapSpawnBase
- TripodBase
- TruckExhaust
- UndergroundBreadcrumbHandle
- UndergroundStash
- UndergroundTriggerHandle
- VehicleBattery
- WindscreenBox
- WoodenLog
- WoodenPlank
- WoodenStick
- WorldContainer_Base
- MaleFeet_Base
- MaleHands_Base
- MaleLegs_Base
- MaleTorso_Base
- InventoryItem
- EntityAI
- Entity
- ObjectTyped
- Object
- IEntity
Constructors 1
void InventoryItem()References Object.ConfigGetBool(), Object.ConfigIsExisting(), InitImpactSoundData()
Show 1 more
, m_IsMeleeWeaponMembers 4
static private ref array<ref string> s_ImpactSoundsInfo = new array<ref string>()DIAG_DEVELOPERprivate SoundLookupTable m_SoundImpactTableprivate float m_SoundContactTickTimeReferenced by ProcessImpactSoundEx()
private bool m_IsMeleeWeapon = falseMethods 27
proto native InventoryItemType GetInventoryItemType()proto native void SwitchOn(bool onOff)Some inventoryItem devices can be switched on/off (radios, transmitters)
Referenced by Megaphone.OnWorkStart(), Megaphone.OnWorkStop(), Radio.OnSwitchOff()
Show 3 more
, Radio.OnSwitchOn(), TransmitterBase.OnWorkStart(), and TransmitterBase.OnWorkStop()proto native bool IsOn()Some inventoryItem devices can be switched on/off (radios, transmitters)
Referenced by VehicleBattery.CanPutIntoHands()
proto native void EnableCollisionsWithCharacter(bool state)collisions with character
proto native bool HasCollisionsWithCharacter()proto native MeleeCombatData GetMeleeCombatData()Referenced by DayZPlayerImplementMeleeCombat.GetWeaponRange()
proto native void ThrowPhysically(DayZPlayer player, vector force, bool collideWithCharacters = true)proto native void ForceFarBubble(bool state)Sets the item to use the server configured 'networkRangeFar' instead of 'networkRangeNear'
void OnRightClick()override bool IsInventoryItem()int GetMeleeMode()Referenced by DayZPlayerImplementMeleeCombat.SelectWeaponMode()
int GetMeleeHeavyMode()Referenced by DayZPlayerImplementMeleeCombat.SelectWeaponMode()
int GetMeleeSprintMode()Referenced by DayZPlayerImplementMeleeCombat.SelectWeaponMode()
override bool IsMeleeWeapon()References m_IsMeleeWeapon
Referenced by DayZPlayerMeleeFightLogic_LightHeavy.HandleFightLogic()
bool IsMeleeFinisher()protected void InitImpactSoundData()References Object.ConfigGetString(), Object.ConfigIsExisting(), AnimSoundLookupTableBank.GetImpactTable()
Show 2 more
, AnimSoundLookupTableBank.GetInstance(), and m_SoundImpactTableReferenced by InventoryItem()
AbstractWave PlaySound(SoundObject so, SoundObjectBuilder sob)References Object.GetPosition(), CGame.GetSoundScene(), AbstractSoundScene.Play3D()
Show 1 more
, SoundObject.SetPosition()Referenced by BarbedWire.SoundCollision(), BarbedWire.SoundCut(), BarbedWire.SoundElectricShock()
Show 3 more
, BarbedWire.SoundSpark(), PlayImpactSound(), and PlaySoundByAnimEvent()void PlaySoundByAnimEvent(EAnimSoundEventID id)References SoundObjectBuilder.BuildSoundObject(), GetInventoryItemType(), AnimSoundEvent.GetSoundBuilder()
Show 2 more
, InventoryItemType.GetSoundEvent(), and PlaySound()References GetImpactSurfaceTypeEx()
string GetRuinedMeleeAmmoType()returns ammo (projectile) used in melee if the item is destroyed. Override higher for specific use
References ProcessImpactSoundEx()
float ProcessImpactSoundEx(IEntity other, Contact extra, float weight, out int surfaceHash, out int liquidType)static void DrawImpacts()DIAG_DEVELOPERReferences DbgUI.Begin(), array.Count(), DbgUI.End()
Show 4 more
, array.Get(), DbgUI.Text(), Class.ToString(), and s_ImpactSoundsInfoReferenced by PlayerBase.DiagOnPostFrame()