class CarWheel
Constants 2
protected const string WHEEL_ATTACH_SOUND = "Offroad_Wheel_Attach_SoundSet"Referenced by InitItemSounds()
protected const string WHEEL_DETACH_SOUND = "Offroad_Wheel_Remove_SoundSet"Referenced by InitItemSounds()
Methods 11
proto native float GetRadius()Returns current wheel radius.
proto native float GetWidth()Returns wheel width.
override bool DisplayNameRuinAttach()override bool ShowZonesHealth()string GetRuinedReplacement()Referenced by EEHealthLevelChanged()
References Class.Cast(), GameInventory.DropEntityWithTransform(), ItemBase.EEHealthLevelChanged()
Show 13 more
, IEntity.GetChildren(), EntityAI.GetInventory(), GetRuinedReplacement(), IEntity.GetSibling(), IEntity.GetTransform(), EntityAI.IsLockedInSlot(), IEntity.RemoveChild(), GameInventory.ReplaceItemWithNew(), new ReplaceWheelLambda(), TurnItemIntoItemLambda.SetTransferParams(), ItemBase.UnlockFromParent(), EntityAI.m_Initialized, and GameConstants.STATE_RUINEDReferenced by CarWheel_Ruined.EEHealthLevelChanged()
override void InitItemSounds()References ItemSoundHandler.AddSound(), ItemBase.GetItemSoundHandler(), ItemBase.InitItemSounds()
Show 4 more
, SoundConstants.ITEM_ATTACH, SoundConstants.ITEM_DETACH, WHEEL_ATTACH_SOUND, and WHEEL_DETACH_SOUNDReferenced by CarWheel_Ruined.InitItemSounds()
override int GetMeleeTargetType()Register wheel attach/detach sounds
override void SetActions()override bool EEOnDamageCalculated(TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)References Class.CastTo(), Object.EEOnDamageCalculated(), CfgGameplayHandler.GetCanDamageAttachedCarWheels()
Show 1 more
, EntityAI.GetHierarchyRoot()Referenced by MotorbikeWheel.EEOnDamageCalculated()
References EntityAI.CanDetachAttachment(), Class.CastTo(), and CfgGameplayHandler.GetCanDetachAttachedCarWheels()
Referenced by MotorbikeWheel.CanDetachAttachment()