class VehicleHornComponent
VehicleHornComponent › Managed
Members 7
private EntityAI m_ParentReferenced by GenerateHornAINoise(), HandleSound(), InitializeNoiseSystem()
Show 2 more
, SetMode(), and VehicleHornComponent()protected int m_Modeprotected ref NoiseParams m_NoiseParprotected NoiseSystem m_NoiseSystemprotected ref EffectSound m_SoundEffectMethods 6
void SetMode(int mode)References GenerateHornAINoise(), InitializeNoiseSystem(), CGame.IsServer()
Show 4 more
, EntityAI.SetSynchDirty(), m_Mode, m_NoiseSystemInitialized, and m_ParentReferenced by ActionVehicleHornBase.SetHornState(), CarScript.CarScript(), CarScript.SetCarHornState()
Show 2 more
, MotorbikeScript.MotorbikeScript(), and MotorbikeScript.OnAction()void HandleSound()References Cleanup(), Object.PlaySoundSet(), VehicleHornMode.LONG
Show 5 more
, m_Mode, m_Parent, m_SoundEffect, m_SoundToModeMap, and VehicleHornMode.SHORTvoid Cleanup(EffectSound sound)References SEffectManager.DestroyEffect()
protected bool InitializeNoiseSystem()References CGame.GetNoiseSystem(), Object.GetType(), CGame.IsServer()
Show 5 more
, NoiseParams.LoadFromPath(), new NoiseParams(), m_NoisePar, m_NoiseSystem, and m_ParentReferenced by SetMode()
protected void GenerateHornAINoise(int hornType)References NoiseSystem.AddNoiseTarget(), Object.GetPosition(), VehicleHornMode.LONG
Show 4 more
, m_NoisePar, m_NoiseSystem, m_Parent, and VehicleHornMode.OFFReferenced by SetMode()